home *** CD-ROM | disk | FTP | other *** search
Unknown | 1996-12-22 | 13.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: 'HELP('
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 48 45 4c 50 28 00 00 00 | cb 00 00 00 ff ff ff ff |HELP(...|........|
|00000010| 2c 00 00 00 00 fd ff ff | 00 00 00 00 04 01 00 00 |,.......|........|
|00000020| 00 01 00 00 00 00 00 00 | 24 00 00 00 44 49 52 24 |........|$...DIR$|
|00000030| 0c 01 00 00 0c 01 00 00 | 38 01 00 00 47 ff ff ff |........|8...G...|
|00000040| 70 06 a4 40 86 06 00 00 | 13 00 00 00 00 00 00 00 |p..@....|........|
|00000050| 21 52 6f 6f 74 00 00 00 | c0 07 00 00 46 ff ff ff |!Root...|....F...|
|00000060| 0a 34 12 a2 23 06 00 00 | 13 00 00 00 00 00 00 00 |.4..#...|........|
|00000070| 43 6f 72 65 00 00 00 00 | e4 0d 00 00 46 ff ff ff |Core....|....F...|
|00000080| 1a ac 12 a2 65 02 00 00 | 13 00 00 00 00 00 00 00 |....e...|........|
|00000090| 45 56 41 4c 00 00 00 00 | 4c 10 00 00 46 ff ff ff |EVAL....|L...F...|
|000000a0| 3e ea 11 a2 58 05 00 00 | 13 00 00 00 00 00 00 00 |>...X...|........|
|000000b0| 4c 69 62 72 61 72 79 00 | a4 15 00 00 46 ff ff ff |Library.|....F...|
|000000c0| 96 6f 12 a2 62 02 00 00 | 13 00 00 00 00 00 00 00 |.o..b...|........|
|000000d0| 4d 65 6e 75 00 00 00 00 | 08 18 00 00 46 ff ff ff |Menu....|....F...|
|000000e0| f6 5c 12 a2 8e 03 00 00 | 13 00 00 00 00 00 00 00 |.\......|........|
|000000f0| 4d 73 67 00 98 1b 00 00 | 47 ff ff ff db 38 a4 40 |Msg.....|G....8.@|
|00000100| 5b 15 00 00 13 00 00 00 | 00 00 00 00 50 72 6f 76 |[.......|....Prov|
|00000110| 69 64 65 72 00 00 00 00 | f4 30 00 00 47 ff ff ff |ider....|.0..G...|
|00000120| ef ab 8d 19 81 04 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|00000130| 57 69 6d 70 00 00 00 00 | 44 41 54 41 86 06 00 00 |Wimp....|DATA....|
|00000140| 4e 65 74 43 6f 6e 66 69 | 67 0a 23 66 4c 69 6e 6b |NetConfi|g.#fLink|
|00000150| 20 3d 20 66 5f 30 20 52 | 47 42 20 32 35 35 2c 30 | = f_0 R|GB 255,0|
|00000160| 2c 30 0a 23 66 48 33 3a | 4e 65 74 43 6f 6e 66 69 |,0.#fH3:|NetConfi|
|00000170| 67 0a 56 65 72 73 69 6f | 6e 20 32 2e 36 20 2d 20 |g.Versio|n 2.6 - |
|00000180| 32 32 20 44 65 63 65 6d | 62 65 72 20 31 39 39 36 |22 Decem|ber 1996|
|00000190| 0a 0a 54 68 69 73 20 69 | 73 20 61 20 70 72 6f 67 |..This i|s a prog|
|000001a0| 72 61 6d 20 74 6f 20 73 | 65 74 20 75 70 20 74 68 |ram to s|et up th|
|000001b0| 65 20 46 72 65 65 4e 65 | 74 2d 62 61 73 65 64 20 |e FreeNe|t-based |
|000001c0| 66 72 65 65 20 49 6e 74 | 65 72 6e 65 74 20 73 6f |free Int|ernet so|
|000001d0| 66 74 77 61 72 65 20 69 | 6e 20 74 68 65 0a 41 63 |ftware i|n the.Ac|
|000001e0| 6f 72 6e 65 74 20 61 70 | 70 6c 69 63 61 74 69 6f |ornet ap|plicatio|
|000001f0| 6e 2e 20 20 54 68 65 20 | 69 64 65 61 20 69 73 20 |n. The |idea is |
|00000200| 74 6f 20 70 72 6f 76 69 | 64 65 20 61 20 75 73 65 |to provi|de a use|
|00000210| 72 2d 66 72 69 65 6e 64 | 6c 79 20 69 6e 74 65 72 |r-friend|ly inter|
|00000220| 66 61 63 65 20 74 6f 0a | 67 75 69 64 65 20 74 68 |face to.|guide th|
|00000230| 65 20 75 73 65 72 20 74 | 68 72 6f 75 67 68 20 74 |e user t|hrough t|
|00000240| 68 65 20 76 61 72 69 6f | 75 73 20 6f 70 74 69 6f |he vario|us optio|
|00000250| 6e 73 20 61 6e 64 20 63 | 6f 6e 66 69 67 75 72 61 |ns and c|onfigura|
|00000260| 74 69 6f 6e 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |tion inf|ormation|
|00000270| 20 74 68 61 74 0a 6e 65 | 65 64 20 74 6f 20 62 65 | that.ne|ed to be|
|00000280| 20 73 70 65 63 69 66 69 | 65 64 2c 20 74 68 65 6e | specifi|ed, then|
|00000290| 20 74 6f 20 73 65 74 20 | 75 70 20 74 68 65 20 69 | to set |up the i|
|000002a0| 6e 64 69 76 69 64 75 61 | 6c 20 61 70 70 6c 69 63 |ndividua|l applic|
|000002b0| 61 74 69 6f 6e 73 20 28 | 21 46 72 65 65 4e 65 74 |ations (|!FreeNet|
|000002c0| 2c 0a 21 4e 65 77 73 62 | 61 73 65 2c 20 21 54 54 |,.!Newsb|ase, !TT|
|000002d0| 46 4e 2c 20 21 41 72 63 | 57 65 62 2c 20 21 50 4f |FN, !Arc|Web, !PO|
|000002e0| 50 2c 20 21 46 72 65 65 | 4e 65 77 73 2c 20 21 46 |P, !Free|News, !F|
|000002f0| 72 65 65 53 4d 54 50 2c | 20 21 46 72 65 65 46 54 |reeSMTP,| !FreeFT|
|00000300| 50 2c 20 21 50 69 6e 67 | 2c 0a 21 46 69 6e 67 65 |P, !Ping|,.!Finge|
|00000310| 72 2c 20 21 53 4c 49 50 | 64 69 61 6c 2c 20 21 47 |r, !SLIP|dial, !G|
|00000320| 72 6f 75 70 73 2c 20 21 | 46 72 6f 6e 74 45 6e 64 |roups, !|FrontEnd|
|00000330| 20 61 6e 64 20 74 68 65 | 69 72 20 61 73 73 6f 63 | and the|ir assoc|
|00000340| 69 61 74 65 64 20 68 65 | 6c 70 65 72 0a 61 70 70 |iated he|lper.app|
|00000350| 6c 69 63 61 74 69 6f 6e | 73 29 20 61 63 63 6f 72 |lication|s) accor|
|00000360| 64 69 6e 67 20 74 6f 20 | 74 68 65 20 69 6e 66 6f |ding to |the info|
|00000370| 72 6d 61 74 69 6f 6e 20 | 67 69 76 65 6e 2e 0a 0a |rmation |given...|
|00000380| 41 6e 79 20 63 6f 6d 6d | 65 6e 74 73 2c 20 62 75 |Any comm|ents, bu|
|00000390| 67 20 72 65 70 6f 72 74 | 73 20 65 74 63 2e 20 77 |g report|s etc. w|
|000003a0| 69 6c 6c 20 62 65 20 67 | 72 61 74 65 66 75 6c 6c |ill be g|ratefull|
|000003b0| 79 20 72 65 63 65 69 76 | 65 64 3b 20 73 65 6e 64 |y receiv|ed; send|
|000003c0| 20 74 68 65 6d 20 74 6f | 0a 61 63 6f 72 6e 65 74 | them to|.acornet|
|000003d0| 40 6e 79 70 68 6f 74 2e | 64 65 6d 6f 6e 2e 63 6f |@nyphot.|demon.co|
|000003e0| 2e 75 6b 0a 0a 42 79 20 | 6d 61 6b 69 6e 67 20 74 |.uk..By |making t|
|000003f0| 68 65 20 70 72 6f 67 72 | 61 6d 20 6d 6f 64 75 6c |he progr|am modul|
|00000400| 61 72 2c 20 69 74 20 73 | 68 6f 75 6c 64 20 62 65 |ar, it s|hould be|
|00000410| 20 73 69 6d 70 6c 65 20 | 74 6f 20 61 64 64 20 6f | simple |to add o|
|00000420| 74 68 65 72 20 49 6e 74 | 65 72 6e 65 74 0a 70 72 |ther Int|ernet.pr|
|00000430| 6f 76 69 64 65 72 73 20 | 74 6f 20 74 68 6f 73 65 |oviders |to those|
|00000440| 20 73 75 70 70 6f 72 74 | 65 64 2e 20 20 54 79 70 | support|ed. Typ|
|00000450| 69 63 61 6c 6c 79 20 61 | 20 63 6f 6e 66 69 67 75 |ically a| configu|
|00000460| 72 61 74 69 6f 6e 20 66 | 69 6c 65 20 61 62 6f 75 |ration f|ile abou|
|00000470| 74 20 31 4b 20 69 6e 0a | 73 69 7a 65 20 77 69 6c |t 1K in.|size wil|
|00000480| 6c 20 62 65 20 61 6c 6c | 20 74 68 61 74 20 61 72 |l be all| that ar|
|00000490| 65 20 6e 65 65 64 65 64 | 2e 20 20 53 65 65 20 74 |e needed|. See t|
|000004a0| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|000004b0| 20 6f 6e 20 68 6f 77 20 | 74 6f 20 77 72 69 74 65 | on how |to write|
|000004c0| 20 61 0a 3c 50 72 6f 76 | 69 64 65 72 3e 20 66 69 | a.<Prov|ider> fi|
|000004d0| 6c 65 2e 0a 0a 54 68 65 | 72 65 20 69 73 20 73 6f |le...The|re is so|
|000004e0| 6d 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |me docum|entation|
|000004f0| 20 6f 6e 20 74 68 65 20 | 69 6e 74 65 72 6e 61 6c | on the |internal|
|00000500| 73 20 6f 66 20 74 68 65 | 20 70 72 6f 67 72 61 6d |s of the| program|
|00000510| 2c 20 69 6e 63 6c 75 64 | 69 6e 67 20 74 68 65 0a |, includ|ing the.|
|00000520| 3c 63 6f 72 65 3e 20 72 | 6f 75 74 69 6e 65 73 3b |<core> r|outines;|
|00000530| 20 74 68 65 20 64 79 6e | 61 6d 69 63 61 6c 6c 79 | the dyn|amically|
|00000540| 2d 6c 6f 61 64 65 64 20 | 3c 6c 69 62 72 61 72 79 |-loaded |<library|
|00000550| 3e 20 73 79 73 74 65 6d | 3b 20 74 68 65 20 3c 77 |> system|; the <w|
|00000560| 69 6d 70 3e 20 6d 6f 64 | 75 6c 65 3b 0a 74 68 65 |imp> mod|ule;.the|
|00000570| 20 3c 6d 65 73 73 61 67 | 65 20 6c 6f 6f 6b 75 70 | <messag|e lookup|
|00000580| 3d 3e 6d 73 67 3e 20 66 | 61 63 69 6c 69 74 79 3b |=>msg> f|acility;|
|00000590| 20 61 6e 64 20 3c 6d 65 | 6e 75 3e 20 63 72 65 61 | and <me|nu> crea|
|000005a0| 74 69 6f 6e 2e 20 20 49 | 20 65 76 65 6e 20 63 6f |tion. I| even co|
|000005b0| 6e 66 65 73 73 20 74 6f | 0a 74 68 65 20 6c 69 62 |nfess to|.the lib|
|000005c0| 65 72 61 6c 20 75 73 65 | 20 6f 66 20 3c 45 56 41 |eral use| of <EVA|
|000005d0| 4c 3e 20 77 69 74 68 69 | 6e 20 74 68 65 20 73 6f |L> withi|n the so|
|000005e0| 66 74 77 61 72 65 2e 20 | 20 48 6f 70 65 66 75 6c |ftware. | Hopeful|
|000005f0| 6c 79 20 74 68 65 20 63 | 6f 64 65 20 69 73 20 6e |ly the c|ode is n|
|00000600| 6f 74 20 74 6f 6f 0a 6f | 62 73 63 75 72 65 2c 20 |ot too.o|bscure, |
|00000610| 61 6e 64 20 74 68 65 72 | 65 20 61 72 65 20 65 76 |and ther|e are ev|
|00000620| 65 6e 20 6f 6e 65 20 6f | 72 20 74 77 6f 20 7b 66 |en one o|r two {f|
|00000630| 32 30 7d 52 45 4d 7b 66 | 7d 73 21 0a 0a 59 6f 75 |20}REM{f|}s!..You|
|00000640| 20 6d 61 79 20 75 73 65 | 20 74 68 69 73 20 63 6f | may use| this co|
|00000650| 64 65 20 66 6f 72 20 61 | 6e 79 20 6e 6f 6e 2d 70 |de for a|ny non-p|
|00000660| 72 6f 66 69 74 20 70 75 | 72 70 6f 73 65 2c 20 70 |rofit pu|rpose, p|
|00000670| 72 6f 76 69 64 65 64 20 | 79 6f 75 0a 64 6f 63 75 |rovided |you.docu|
|00000680| 6d 65 6e 74 20 61 6e 79 | 20 63 68 61 6e 67 65 73 |ment any| changes|
|00000690| 20 6d 61 64 65 20 61 6e | 64 20 61 70 70 6c 79 20 | made an|d apply |
|000006a0| 74 68 65 20 73 61 6d 65 | 20 63 6f 6e 64 69 74 69 |the same| conditi|
|000006b0| 6f 6e 73 20 77 68 65 6e | 20 64 69 73 74 72 69 62 |ons when| distrib|
|000006c0| 75 74 69 6e 67 0a 66 75 | 72 74 68 65 72 2e 0a 0a |uting.fu|rther...|
|000006d0| 2d 20 43 6f 6c 69 6e 20 | 48 6f 67 62 65 6e 0a 0a |- Colin |Hogben..|
|000006e0| 23 66 48 34 3a 43 72 65 | 64 69 74 73 0a 0a 54 68 |#fH4:Cre|dits..Th|
|000006f0| 61 6e 6b 73 20 61 72 65 | 20 64 75 65 20 74 6f 3a |anks are| due to:|
|00000700| 0a 2a 20 50 68 69 6c 6c | 69 70 20 54 65 6d 70 6c |.* Phill|ip Templ|
|00000710| 65 20 66 6f 72 20 63 72 | 65 61 74 69 6e 67 20 41 |e for cr|eating A|
|00000720| 63 6f 72 6e 65 74 20 61 | 6e 64 20 62 6c 61 7a 69 |cornet a|nd blazi|
|00000730| 6e 67 20 74 68 65 20 74 | 72 61 69 6c 20 77 69 74 |ng the t|rail wit|
|00000740| 68 20 46 72 65 65 43 66 | 67 3b 0a 2a 20 48 75 67 |h FreeCf|g;.* Hug|
|00000750| 6f 20 46 69 65 6e 6e 65 | 73 20 66 6f 72 20 74 68 |o Fienne|s for th|
|00000760| 65 20 73 65 72 69 61 6c | 20 70 6f 72 74 20 74 65 |e serial| port te|
|00000770| 73 74 20 63 6f 64 65 3b | 0a 2a 20 74 68 65 20 61 |st code;|.* the a|
|00000780| 75 74 68 6f 72 73 20 6f | 66 20 61 6c 6c 20 74 68 |uthors o|f all th|
|00000790| 65 20 66 72 65 65 20 61 | 70 70 6c 69 63 61 74 69 |e free a|pplicati|
|000007a0| 6f 6e 73 20 77 68 69 63 | 68 20 74 68 69 73 20 70 |ons whic|h this p|
|000007b0| 72 6f 67 72 61 6d 20 73 | 65 74 73 20 75 70 00 00 |rogram s|ets up..|
|000007c0| 44 41 54 41 23 06 00 00 | 43 6f 72 65 20 72 6f 75 |DATA#...|Core rou|
|000007d0| 74 69 6e 65 73 0a 54 68 | 65 20 63 6f 72 65 20 6d |tines.Th|e core m|
|000007e0| 6f 64 75 6c 65 20 73 68 | 6f 75 6c 64 20 62 65 20 |odule sh|ould be |
|000007f0| 74 68 65 20 66 69 72 73 | 74 20 6c 6f 61 64 65 64 |the firs|t loaded|
|00000800| 20 61 6e 64 20 70 72 6f | 76 69 64 65 73 20 61 20 | and pro|vides a |
|00000810| 6e 75 6d 62 65 72 20 6f | 66 0a 66 75 6e 64 61 6d |number o|f.fundam|
|00000820| 65 6e 74 61 6c 20 66 61 | 63 69 6c 69 74 69 65 73 |ental fa|cilities|
|00000830| 2e 0a 0a 53 75 6d 6d 61 | 72 79 3a 0a 20 20 50 52 |...Summa|ry:. PR|
|00000840| 4f 43 6c 69 62 72 61 72 | 79 28 6c 69 62 24 29 09 |OClibrar|y(lib$).|
|00000850| 09 45 6e 73 75 72 65 20 | 61 20 6c 69 62 72 61 72 |.Ensure |a librar|
|00000860| 79 20 6c 6f 61 64 65 64 | 0a 20 20 46 4e 6c 69 62 |y loaded|. FNlib|
|00000870| 70 28 6c 69 62 24 29 09 | 09 09 54 65 73 74 20 69 |p(lib$).|..Test i|
|00000880| 66 20 6c 69 62 72 61 72 | 79 20 61 6c 72 65 61 64 |f librar|y alread|
|00000890| 79 20 6c 6f 61 64 65 64 | 0a 20 20 46 4e 64 65 66 |y loaded|. FNdef|
|000008a0| 69 6e 74 28 52 45 54 55 | 52 4e 20 76 61 72 25 2c |int(RETU|RN var%,|
|000008b0| 76 61 6c 25 29 09 53 65 | 74 20 76 61 72 25 20 74 |val%).Se|t var% t|
|000008c0| 6f 20 76 61 6c 25 20 69 | 66 20 75 6e 73 65 74 20 |o val% i|f unset |
|000008d0| 6f 72 20 7a 65 72 6f 2c | 20 72 65 74 75 72 6e 20 |or zero,| return |
|000008e0| 76 61 72 25 0a 20 20 46 | 4e 64 65 66 73 74 72 28 |var%. F|Ndefstr(|
|000008f0| 52 45 54 55 52 4e 20 76 | 61 72 24 2c 76 61 6c 24 |RETURN v|ar$,val$|
|00000900| 29 09 53 65 74 20 76 61 | 72 24 20 74 6f 20 76 61 |).Set va|r$ to va|
|00000910| 6c 24 20 69 66 20 75 6e | 73 65 74 20 6f 72 20 65 |l$ if un|set or e|
|00000920| 6d 70 74 79 2c 20 72 65 | 74 75 72 6e 20 76 61 72 |mpty, re|turn var|
|00000930| 24 0a 20 20 50 52 4f 43 | 74 72 61 63 65 5f 6f 6e |$. PROC|trace_on|
|00000940| 09 09 09 54 75 72 6e 20 | 6f 6e 20 74 72 61 63 69 |...Turn |on traci|
|00000950| 6e 67 0a 20 20 50 52 4f | 43 74 72 61 63 65 5f 6f |ng. PRO|Ctrace_o|
|00000960| 66 66 09 09 09 54 75 72 | 6e 20 6f 66 66 20 74 72 |ff...Tur|n off tr|
|00000970| 61 63 69 6e 67 0a 20 20 | 50 52 4f 43 74 72 61 63 |acing. |PROCtrac|
|00000980| 65 28 74 65 78 74 24 29 | 09 09 41 70 70 65 6e 64 |e(text$)|..Append|
|00000990| 20 74 65 78 74 24 20 74 | 6f 20 74 72 61 63 65 20 | text$ t|o trace |
|000009a0| 66 69 6c 65 2c 20 69 66 | 20 74 72 61 63 69 6e 67 |file, if| tracing|
|000009b0| 20 69 73 20 6f 6e 0a 20 | 20 74 72 61 63 69 6e 67 | is on. | tracing|
|000009c0| 09 09 09 54 52 55 45 20 | 69 66 20 74 72 61 63 69 |...TRUE |if traci|
|000009d0| 6e 67 20 69 73 20 6f 6e | 0a 20 20 46 4e 74 79 70 |ng is on|. FNtyp|
|000009e0| 65 5f 63 72 65 61 74 65 | 28 6e 61 6d 65 24 2c 73 |e_create|(name$,s|
|000009f0| 69 7a 65 25 29 09 43 72 | 65 61 74 65 20 61 20 6e |ize%).Cr|eate a n|
|00000a00| 65 77 20 64 61 74 61 20 | 74 79 70 65 20 77 69 74 |ew data |type wit|
|00000a10| 68 20 62 61 73 69 63 20 | 73 69 7a 65 0a 20 20 50 |h basic |size. P|
|00000a20| 52 4f 43 74 79 70 65 5f | 63 68 65 63 6b 28 62 6c |ROCtype_|check(bl|
|00000a30| 6b 25 2c 74 79 70 65 25 | 29 09 45 72 72 6f 72 20 |k%,type%|).Error |
|00000a40| 69 66 20 6d 65 6d 6f 72 | 79 20 62 6c 6f 63 6b 20 |if memor|y block |
|00000a50| 62 6c 6b 25 20 69 73 20 | 6e 6f 74 20 6f 66 20 74 |blk% is |not of t|
|00000a60| 79 70 65 20 74 79 70 65 | 25 0a 20 20 46 4e 6d 61 |ype type|%. FNma|
|00000a70| 6c 6c 6f 63 28 74 79 70 | 65 73 69 7a 65 25 29 09 |lloc(typ|esize%).|
|00000a80| 09 41 6c 6c 6f 63 61 74 | 65 20 6d 65 6d 6f 72 79 |.Allocat|e memory|
|00000a90| 20 6f 66 20 67 69 76 65 | 6e 20 73 69 7a 65 20 28 | of give|n size (|
|00000aa0| 61 6e 64 20 6d 61 79 62 | 65 20 74 79 70 65 29 0a |and mayb|e type).|
|00000ab0| 20 20 50 52 4f 43 66 72 | 65 65 28 62 6c 6b 25 29 | PROCfr|ee(blk%)|
|00000ac0| 09 09 46 72 65 65 20 62 | 6c 6f 63 6b 20 6f 66 20 |..Free b|lock of |
|00000ad0| 6d 65 6d 6f 72 79 0a 20 | 20 50 52 4f 43 61 6c 6c |memory. | PROCall|
|00000ae0| 6f 63 5f 64 75 6d 70 09 | 09 50 72 69 6e 74 20 6d |oc_dump.|.Print m|
|00000af0| 65 6d 6f 72 79 20 61 6c | 6c 6f 63 61 74 69 6f 6e |emory al|location|
|00000b00| 20 64 65 74 61 69 6c 73 | 20 74 6f 20 73 74 64 6f | details| to stdo|
|00000b10| 75 74 0a 20 20 50 52 4f | 43 65 78 69 74 09 09 09 |ut. PRO|Cexit...|
|00000b20| 51 75 69 74 20 70 72 6f | 67 72 61 6d 2c 20 72 75 |Quit pro|gram, ru|
|00000b30| 6e 6e 69 6e 67 20 61 6e | 79 20 65 78 69 74 20 68 |nning an|y exit h|
|00000b40| 6f 6f 6b 73 0a 20 20 50 | 52 4f 43 61 74 65 78 69 |ooks. P|ROCatexi|
|00000b50| 74 28 66 6e 24 2c 61 72 | 67 25 29 09 09 52 65 67 |t(fn$,ar|g%)..Reg|
|00000b60| 69 73 74 65 72 20 66 75 | 6e 63 74 69 6f 6e 20 66 |ister fu|nction f|
|00000b70| 6e 24 20 74 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 |n$ to be| called |
|00000b80| 77 69 74 68 20 61 72 67 | 75 6d 65 6e 74 0a 09 09 |with arg|ument...|
|00000b90| 09 09 20 61 72 67 25 20 | 61 74 20 70 72 6f 67 72 |.. arg% |at progr|
|00000ba0| 61 6d 20 65 78 69 74 0a | 20 20 50 52 4f 43 6e 6f |am exit.| PROCno|
|00000bb0| 61 74 65 78 69 74 28 66 | 6e 24 2c 61 72 67 25 29 |atexit(f|n$,arg%)|
|00000bc0| 09 52 65 6d 6f 76 65 20 | 70 72 65 76 69 6f 75 73 |.Remove |previous|
|00000bd0| 6c 79 20 72 65 67 69 73 | 74 65 72 65 64 20 65 78 |ly regis|tered ex|
|00000be0| 69 74 20 66 75 6e 63 74 | 69 6f 6e 0a 20 20 46 4e |it funct|ion. FN|
|00000bf0| 73 74 72 67 65 74 28 73 | 74 72 25 29 09 09 43 6f |strget(s|tr%)..Co|
|00000c00| 6e 76 65 72 74 20 6d 61 | 6c 6c 6f 63 27 65 64 20 |nvert ma|lloc'ed |
|00000c10| 73 74 72 69 6e 67 20 74 | 6f 20 42 41 53 49 43 20 |string t|o BASIC |
|00000c20| 73 74 72 69 6e 67 0a 20 | 20 50 52 4f 43 73 74 72 |string. | PROCstr|
|00000c30| 73 65 74 28 73 74 72 25 | 2c 73 74 72 24 29 09 09 |set(str%|,str$)..|
|00000c40| 43 6f 70 79 20 42 41 53 | 49 43 20 73 74 72 69 6e |Copy BAS|IC strin|
|00000c50| 67 20 69 6e 74 6f 20 28 | 6d 61 6c 6c 6f 63 27 65 |g into (|malloc'e|
|00000c60| 64 29 20 73 70 61 63 65 | 0a 20 20 50 52 4f 43 73 |d) space|. PROCs|
|00000c70| 74 72 6c 65 6e 28 73 74 | 72 25 29 09 09 47 65 74 |trlen(st|r%)..Get|
|00000c80| 20 6c 65 6e 67 74 68 20 | 6f 66 20 7a 65 72 6f 2d | length |of zero-|
|00000c90| 74 65 72 6d 69 6e 61 74 | 65 64 20 73 74 72 69 6e |terminat|ed strin|
|00000ca0| 67 0a 20 20 46 4e 73 74 | 72 64 75 70 28 73 74 72 |g. FNst|rdup(str|
|00000cb0| 24 29 09 09 4d 61 6b 65 | 20 6d 61 6c 6c 6f 63 27 |$)..Make| malloc'|
|00000cc0| 65 64 20 63 6f 70 79 20 | 6f 66 20 42 41 53 49 43 |ed copy |of BASIC|
|00000cd0| 20 73 74 72 69 6e 67 0a | 20 20 46 4e 73 74 72 74 | string.| FNstrt|
|00000ce0| 6f 6b 28 52 45 54 55 52 | 4e 20 6c 69 73 74 24 2c |ok(RETUR|N list$,|
|00000cf0| 64 65 6c 69 6d 24 29 09 | 52 65 6d 6f 76 65 20 61 |delim$).|Remove a|
|00000d00| 6e 64 20 72 65 74 75 72 | 6e 20 65 6e 74 72 79 20 |nd retur|n entry |
|00000d10| 66 72 6f 6d 20 6c 69 73 | 74 24 20 64 65 6c 69 6d |from lis|t$ delim|
|00000d20| 69 74 65 64 0a 09 09 09 | 09 20 62 79 20 63 68 61 |ited....|. by cha|
|00000d30| 72 61 63 65 72 20 64 65 | 6c 69 6d 24 0a 20 20 46 |racer de|lim$. F|
|00000d40| 4e 73 74 72 63 6f 75 6e | 74 28 73 74 72 24 2c 63 |Nstrcoun|t(str$,c|
|00000d50| 68 24 29 09 09 52 65 74 | 75 72 6e 20 6e 75 6d 62 |h$)..Ret|urn numb|
|00000d60| 65 72 20 6f 66 20 63 68 | 24 27 73 20 69 6e 20 73 |er of ch|$'s in s|
|00000d70| 74 72 24 0a 20 20 46 4e | 6c 65 61 66 28 73 74 72 |tr$. FN|leaf(str|
|00000d80| 24 29 09 09 09 52 65 74 | 75 72 6e 20 6c 61 73 74 |$)...Ret|urn last|
|00000d90| 20 70 61 74 68 6e 61 6d | 65 20 65 6c 65 6d 65 6e | pathnam|e elemen|
|00000da0| 74 20 66 72 6f 6d 20 73 | 74 72 24 0a 20 20 46 4e |t from s|tr$. FN|
|00000db0| 67 65 74 65 6e 76 28 76 | 61 72 24 29 09 09 52 65 |getenv(v|ar$)..Re|
|00000dc0| 74 75 72 6e 20 76 61 6c | 75 65 20 6f 66 20 73 79 |turn val|ue of sy|
|00000dd0| 73 74 65 6d 20 76 61 72 | 69 61 62 6c 65 20 76 61 |stem var|iable va|
|00000de0| 72 24 0a 00 44 41 54 41 | 65 02 00 00 55 73 65 20 |r$..DATA|e...Use |
|00000df0| 6f 66 20 45 56 41 4c 0a | 54 68 65 20 63 6f 64 65 |of EVAL.|The code|
|00000e00| 20 6d 61 6b 65 73 20 67 | 65 6e 65 72 6f 75 73 20 | makes g|enerous |
|00000e10| 75 73 65 20 6f 66 20 7b | 66 32 30 7d 45 56 41 4c |use of {|f20}EVAL|
|00000e20| 7b 66 7d 20 69 6e 20 6f | 72 64 65 72 20 74 6f 20 |{f} in o|rder to |
|00000e30| 69 6d 70 6c 65 6d 65 6e | 74 20 74 68 65 20 66 6f |implemen|t the fo|
|00000e40| 6c 6c 6f 77 69 6e 67 0a | 66 65 61 74 75 72 65 73 |llowing.|features|
|00000e50| 3a 0a 0a 28 31 29 20 52 | 65 66 65 72 65 6e 63 65 |:..(1) R|eference|
|00000e60| 73 20 74 6f 20 76 61 72 | 69 61 62 6c 65 73 20 62 |s to var|iables b|
|00000e70| 79 20 6e 61 6d 65 2e 20 | 20 55 73 65 64 20 74 6f |y name. | Used to|
|00000e80| 20 61 73 73 6f 63 69 61 | 74 65 20 76 61 72 69 61 | associa|te varia|
|00000e90| 62 6c 65 73 20 77 69 74 | 68 0a 67 61 64 67 65 74 |bles wit|h.gadget|
|00000ea0| 73 20 69 6e 20 64 69 61 | 6c 6f 67 20 77 69 6e 64 |s in dia|log wind|
|00000eb0| 6f 77 73 2e 20 20 45 71 | 75 69 76 61 6c 65 6e 74 |ows. Eq|uivalent|
|00000ec0| 20 74 6f 20 74 68 65 20 | 27 7b 66 32 30 7d 26 7b | to the |'{f20}&{|
|00000ed0| 66 7d 27 20 6f 70 65 72 | 61 74 6f 72 20 69 6e 20 |f}' oper|ator in |
|00000ee0| 43 2e 0a 0a 28 32 29 20 | 43 61 6c 6c 62 61 63 6b |C...(2) |Callback|
|00000ef0| 20 66 75 6e 63 74 69 6f | 6e 73 2e 20 20 55 73 65 | functio|ns. Use|
|00000f00| 64 20 74 6f 20 72 65 67 | 69 73 74 65 72 20 65 78 |d to reg|ister ex|
|00000f10| 69 74 20 66 75 6e 63 74 | 69 6f 6e 73 20 28 74 6f |it funct|ions (to|
|00000f20| 20 63 6c 6f 73 65 20 6f | 70 65 6e 0a 66 69 6c 65 | close o|pen.file|
|00000f30| 73 29 2c 20 61 6e 64 20 | 77 69 6e 64 6f 77 20 68 |s), and |window h|
|00000f40| 61 6e 64 6c 69 6e 67 20 | 66 75 6e 63 74 69 6f 6e |andling |function|
|00000f50| 73 20 28 74 6f 20 70 61 | 73 73 20 6f 6e 20 57 69 |s (to pa|ss on Wi|
|00000f60| 6d 70 20 65 76 65 6e 74 | 73 20 74 6f 20 74 68 65 |mp event|s to the|
|00000f70| 20 64 69 61 6c 6f 67 0a | 6c 69 62 72 61 72 79 29 | dialog.|library)|
|00000f80| 2e 0a 0a 28 33 29 20 54 | 6f 20 63 61 6c 6c 20 72 |...(3) T|o call r|
|00000f90| 6f 75 74 69 6e 65 73 20 | 66 72 6f 6d 20 64 79 6e |outines |from dyn|
|00000fa0| 61 6d 69 63 61 6c 6c 79 | 20 6c 6f 61 64 65 64 20 |amically| loaded |
|00000fb0| 6c 69 62 72 61 72 69 65 | 73 2e 20 20 54 68 65 20 |librarie|s. The |
|00000fc0| 6e 61 6d 65 20 69 73 0a | 63 6f 6e 73 74 72 75 63 |name is.|construc|
|00000fd0| 74 65 64 20 61 74 20 72 | 75 6e 2d 74 69 6d 65 20 |ted at r|un-time |
|00000fe0| 66 72 6f 6d 20 61 20 73 | 74 75 62 20 61 6e 64 20 |from a s|tub and |
|00000ff0| 61 20 73 75 66 66 69 78 | 2e 0a 0a 28 34 29 20 43 |a suffix|...(4) C|
|00001000| 6f 6e 76 65 6e 69 65 6e | 74 20 73 61 76 69 6e 67 |onvenien|t saving|
|00001010| 20 61 6e 64 20 72 65 73 | 74 6f 72 69 6e 67 20 6f | and res|toring o|
|00001020| 66 20 76 61 6c 75 65 73 | 20 69 6e 20 74 68 65 20 |f values| in the |
|00001030| 43 68 6f 69 63 65 73 20 | 66 69 6c 65 2e 0a 0a 53 |Choices |file...S|
|00001040| 6f 20 74 68 65 72 65 2e | 0a 00 00 00 44 41 54 41 |o there.|....DATA|
|00001050| 58 05 00 00 4c 69 62 72 | 61 72 79 20 73 79 73 74 |X...Libr|ary syst|
|00001060| 65 6d 0a 49 74 27 73 20 | 61 20 73 6f 72 74 20 6f |em.It's |a sort o|
|00001070| 66 20 64 79 6e 61 6d 69 | 63 61 6c 6c 79 2d 6c 6f |f dynami|cally-lo|
|00001080| 61 64 65 64 20 6c 69 62 | 72 61 72 79 20 73 79 73 |aded lib|rary sys|
|00001090| 74 65 6d 2e 20 20 49 74 | 20 6d 61 79 20 6e 6f 74 |tem. It| may not|
|000010a0| 20 62 65 20 77 6f 6e 64 | 65 72 66 75 6c 6c 79 0a | be wond|erfully.|
|000010b0| 65 66 66 69 63 69 65 6e | 74 2c 20 62 75 74 20 69 |efficien|t, but i|
|000010c0| 74 73 20 69 6e 74 65 6e | 64 65 64 20 61 70 70 6c |ts inten|ded appl|
|000010d0| 69 63 61 74 69 6f 6e 20 | 28 49 6e 74 65 72 6e 65 |ication |(Interne|
|000010e0| 74 20 73 6f 66 74 77 61 | 72 65 20 69 6e 73 74 61 |t softwa|re insta|
|000010f0| 6c 6c 61 74 69 6f 6e 20 | 61 6e 64 0a 63 6f 6e 66 |llation |and.conf|
|00001100| 69 67 75 72 61 74 69 6f | 6e 29 20 64 6f 65 73 6e |iguratio|n) doesn|
|00001110| 27 74 20 6e 65 65 64 20 | 74 6f 20 62 65 2e 0a 0a |'t need |to be...|
|00001120| 5b 53 75 62 73 74 69 74 | 75 74 65 20 27 7b 2f 7d |[Substit|ute '{/}|
|00001130| 66 6f 6f 7b 2f 7d 27 20 | 77 69 74 68 20 74 68 65 |foo{/}' |with the|
|00001140| 20 72 65 61 6c 20 6e 61 | 6d 65 20 6f 66 20 61 20 | real na|me of a |
|00001150| 6c 69 62 72 61 72 79 20 | 6d 6f 64 75 6c 65 5d 0a |library |module].|
|00001160| 0a 52 6f 75 74 69 6e 65 | 73 20 70 72 6f 76 69 64 |.Routine|s provid|
|00001170| 65 64 3a 0a 23 69 6e 64 | 65 6e 74 20 34 0a 7b 66 |ed:.#ind|ent 4.{f|
|00001180| 32 30 7d 50 52 4f 43 6c | 69 62 72 61 72 79 28 6c |20}PROCl|ibrary(l|
|00001190| 69 62 24 29 0a 46 4e 6c | 69 62 70 28 6c 69 62 24 |ib$).FNl|ibp(lib$|
|000011a0| 29 0a 7b 66 7d 0a 23 69 | 6e 64 65 6e 74 0a 23 66 |).{f}.#i|ndent.#f|
|000011b0| 48 34 3a 4e 61 6d 69 6e | 67 0a 0a 41 6c 6c 20 66 |H4:Namin|g..All f|
|000011c0| 75 6e 63 74 69 6f 6e 73 | 2c 20 70 72 6f 63 65 64 |unctions|, proced|
|000011d0| 75 72 65 73 20 61 6e 64 | 20 6e 6f 6e 2d 6c 6f 63 |ures and| non-loc|
|000011e0| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 20 73 68 6f |al varia|bles sho|
|000011f0| 75 6c 64 20 62 65 67 69 | 6e 20 77 69 74 68 20 22 |uld begi|n with "|
|00001200| 7b 2f 7d 66 6f 6f 5f 7b | 2f 7d 22 20 6f 72 0a 22 |{/}foo_{|/}" or."|
|00001210| 7b 2f 7d 5f 66 6f 6f 5f | 7b 2f 7d 22 20 28 74 68 |{/}_foo_|{/}" (th|
|00001220| 65 20 63 6f 6e 76 65 6e | 74 69 6f 6e 20 69 73 20 |e conven|tion is |
|00001230| 74 68 61 74 20 70 72 69 | 76 61 74 65 20 66 75 6e |that pri|vate fun|
|00001240| 63 74 69 6f 6e 73 20 65 | 74 63 2e 20 68 61 76 65 |ctions e|tc. have|
|00001250| 20 74 68 65 20 69 6e 69 | 74 69 61 6c 0a 75 6e 64 | the ini|tial.und|
|00001260| 65 72 73 63 6f 72 65 2c | 20 74 68 6f 75 67 68 20 |erscore,| though |
|00001270| 49 20 68 61 76 65 6e 27 | 74 20 61 6c 77 61 79 73 |I haven'|t always|
|00001280| 20 66 6f 6c 6c 6f 77 65 | 64 20 74 68 69 73 20 69 | followe|d this i|
|00001290| 6e 20 74 68 65 20 63 61 | 73 65 20 6f 66 20 76 61 |n the ca|se of va|
|000012a0| 72 69 61 62 6c 65 73 29 | 2e 0a 0a 23 66 48 34 3a |riables)|...#fH4:|
|000012b0| 4c 6f 61 64 69 6e 67 0a | 0a 43 61 6c 6c 20 7b 66 |Loading.|.Call {f|
|000012c0| 32 30 7d 50 52 4f 43 6c | 69 62 72 61 72 79 28 22 |20}PROCl|ibrary("|
|000012d0| 7b 2f 7d 66 6f 6f 7b 2f | 7d 22 29 7b 66 7d 20 74 |{/}foo{/|}"){f} t|
|000012e0| 6f 20 65 6e 73 75 72 65 | 20 74 68 61 74 20 6c 69 |o ensure| that li|
|000012f0| 62 72 61 72 79 20 7b 2f | 7d 66 6f 6f 7b 2f 7d 20 |brary {/|}foo{/} |
|00001300| 69 73 20 6c 6f 61 64 65 | 64 2e 20 20 54 68 69 73 |is loade|d. This|
|00001310| 20 63 61 6e 20 62 65 0a | 64 6f 6e 65 20 61 74 20 | can be.|done at |
|00001320| 61 6e 79 20 74 69 6d 65 | 2c 20 6e 6f 74 20 6a 75 |any time|, not ju|
|00001330| 73 74 20 61 74 20 69 6e | 69 74 69 61 6c 69 61 74 |st at in|itialiat|
|00001340| 69 6f 6e 2e 20 20 49 66 | 20 61 20 6c 69 62 72 61 |ion. If| a libra|
|00001350| 72 79 20 69 73 20 61 6c | 72 65 61 64 79 20 6c 6f |ry is al|ready lo|
|00001360| 61 64 65 64 0a 74 68 65 | 6e 20 6e 6f 74 68 69 6e |aded.the|n nothin|
|00001370| 67 20 66 75 72 74 68 65 | 72 20 69 73 20 64 6f 6e |g furthe|r is don|
|00001380| 65 2e 20 20 4c 69 62 72 | 61 72 79 20 66 69 6c 65 |e. Libr|ary file|
|00001390| 73 20 61 72 65 20 6c 6f | 63 61 74 65 64 20 66 72 |s are lo|cated fr|
|000013a0| 6f 6d 20 74 68 65 20 70 | 61 74 68 24 0a 73 70 65 |om the p|ath$.spe|
|000013b0| 63 69 66 69 65 64 20 69 | 6e 20 74 68 65 20 69 6e |cified i|n the in|
|000013c0| 69 74 69 61 6c 20 63 61 | 6c 6c 20 74 6f 20 7b 66 |itial ca|ll to {f|
|000013d0| 32 30 7d 50 52 4f 43 63 | 6f 72 65 5f 69 6e 69 74 |20}PROCc|ore_init|
|000013e0| 28 70 61 74 68 24 29 7b | 66 7d 2e 0a 0a 23 66 48 |(path$){|f}...#fH|
|000013f0| 34 3a 54 65 73 74 69 6e | 67 20 70 72 65 73 65 6e |4:Testin|g presen|
|00001400| 63 65 20 6f 66 20 6c 69 | 62 72 61 72 79 0a 0a 54 |ce of li|brary..T|
|00001410| 6f 20 74 65 73 74 20 69 | 66 20 61 20 6c 69 62 72 |o test i|f a libr|
|00001420| 61 72 79 20 7b 2f 7d 66 | 6f 6f 7b 2f 7d 20 69 73 |ary {/}f|oo{/} is|
|00001430| 20 6c 6f 61 64 65 64 2c | 20 63 61 6c 6c 20 74 68 | loaded,| call th|
|00001440| 65 20 66 75 6e 63 74 69 | 6f 6e 20 7b 66 32 30 7d |e functi|on {f20}|
|00001450| 46 4e 6c 69 62 70 28 22 | 7b 2f 7d 66 6f 6f 7b 2f |FNlibp("|{/}foo{/|
|00001460| 7d 22 29 7b 66 7d 2e 0a | 0a 23 66 48 34 3a 49 6e |}"){f}..|.#fH4:In|
|00001470| 69 74 69 61 6c 69 73 61 | 74 69 6f 6e 0a 0a 41 20 |itialisa|tion..A |
|00001480| 6c 69 62 72 61 72 79 20 | 6d 6f 64 75 6c 65 20 27 |library |module '|
|00001490| 7b 2f 7d 66 6f 6f 7b 2f | 7d 27 20 6d 75 73 74 20 |{/}foo{/|}' must |
|000014a0| 70 72 6f 76 69 64 65 20 | 61 6e 20 69 6e 69 74 69 |provide |an initi|
|000014b0| 61 6c 69 73 61 74 69 6f | 6e 20 66 75 6e 63 74 69 |alisatio|n functi|
|000014c0| 6f 6e 20 7b 66 32 30 7d | 46 4e 7b 2f 7d 66 6f 6f |on {f20}|FN{/}foo|
|000014d0| 7b 2f 7d 5f 69 6e 69 74 | 7b 66 7d 0a 77 68 69 63 |{/}_init|{f}.whic|
|000014e0| 68 20 69 73 20 63 61 6c | 6c 65 64 20 77 68 65 6e |h is cal|led when|
|000014f0| 20 74 68 65 20 6c 69 62 | 72 61 72 79 20 69 73 20 | the lib|rary is |
|00001500| 66 69 72 73 74 20 6c 6f | 61 64 65 64 2e 20 20 54 |first lo|aded. T|
|00001510| 68 69 73 20 6d 61 79 20 | 62 65 20 61 20 73 75 69 |his may |be a sui|
|00001520| 74 61 62 6c 65 0a 70 6c | 61 63 65 20 74 6f 20 69 |table.pl|ace to i|
|00001530| 6e 69 74 69 61 6c 69 73 | 65 20 76 61 72 69 61 62 |nitialis|e variab|
|00001540| 6c 65 73 20 61 6e 64 20 | 74 6f 20 6c 6f 61 64 20 |les and |to load |
|00001550| 6f 74 68 65 72 20 6c 69 | 62 72 61 72 69 65 73 20 |other li|braries |
|00001560| 6e 65 65 64 65 64 20 62 | 79 20 74 68 65 0a 6d 6f |needed b|y the.mo|
|00001570| 64 75 6c 65 2e 20 20 54 | 68 65 20 72 65 74 75 72 |dule. T|he retur|
|00001580| 6e 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 66 |n value |of the f|
|00001590| 75 6e 63 74 69 6f 6e 20 | 69 73 20 69 67 6e 6f 72 |unction |is ignor|
|000015a0| 65 64 2e 0a 44 41 54 41 | 62 02 00 00 4d 65 6e 75 |ed..DATA|b...Menu|
|000015b0| 20 6d 6f 64 75 6c 65 0a | 54 68 65 20 6d 65 6e 75 | module.|The menu|
|000015c0| 20 6d 6f 64 75 6c 65 20 | 63 72 65 61 74 65 73 20 | module |creates |
|000015d0| 6d 65 6e 75 73 20 28 6e | 6f 20 6b 69 64 64 69 6e |menus (n|o kiddin|
|000015e0| 67 21 29 0a 0a 53 75 6d | 6d 61 72 79 3a 0a 7b 66 |g!)..Sum|mary:.{f|
|000015f0| 32 30 7d 46 4e 6d 65 6e | 75 5f 63 72 65 61 74 65 |20}FNmen|u_create|
|00001600| 28 74 69 74 6c 65 24 2c | 64 65 73 63 24 29 09 43 |(title$,|desc$).C|
|00001610| 72 65 61 74 65 20 61 20 | 6d 65 6e 75 2c 20 72 65 |reate a |menu, re|
|00001620| 74 75 72 6e 69 6e 67 20 | 69 74 73 20 61 64 64 72 |turning |its addr|
|00001630| 65 73 73 0a 7b 66 32 30 | 7d 50 52 4f 43 6d 65 6e |ess.{f20|}PROCmen|
|00001640| 75 5f 64 65 6c 65 74 65 | 28 6d 65 6e 75 25 29 09 |u_delete|(menu%).|
|00001650| 44 65 6c 65 74 65 20 61 | 20 6d 65 6e 75 2c 20 66 |Delete a| menu, f|
|00001660| 72 65 65 69 6e 67 20 69 | 6e 64 69 72 65 63 74 65 |reeing i|ndirecte|
|00001670| 64 20 74 65 78 74 0a 7b | 66 32 30 7d 50 52 4f 43 |d text.{|f20}PROC|
|00001680| 6d 65 6e 75 5f 73 68 6f | 77 28 6d 65 6e 75 25 2c |menu_sho|w(menu%,|
|00001690| 78 25 2c 79 25 29 09 44 | 69 73 70 6c 61 79 20 61 |x%,y%).D|isplay a|
|000016a0| 20 6d 65 6e 75 20 61 74 | 20 74 68 65 20 67 69 76 | menu at| the giv|
|000016b0| 65 6e 20 73 63 72 65 65 | 6e 20 70 6f 73 69 74 69 |en scree|n positi|
|000016c0| 6f 6e 0a 7b 66 32 30 7d | 46 4e 6d 65 6e 75 5f 69 |on.{f20}|FNmenu_i|
|000016d0| 74 65 6d 28 6d 65 6e 75 | 25 2c 69 74 65 6d 25 29 |tem(menu|%,item%)|
|000016e0| 09 52 65 74 75 72 6e 20 | 74 68 65 20 74 65 78 74 |.Return |the text|
|000016f0| 20 6f 66 20 61 20 67 69 | 76 65 6e 20 6d 65 6e 75 | of a gi|ven menu|
|00001700| 20 69 74 65 6d 0a 0a 41 | 20 6d 65 6e 75 20 69 73 | item..A| menu is|
|00001710| 20 63 72 65 61 74 65 64 | 20 66 72 6f 6d 20 61 20 | created| from a |
|00001720| 74 69 74 6c 65 20 61 6e | 64 20 64 65 73 63 72 69 |title an|d descri|
|00001730| 70 74 69 6f 6e 2e 20 20 | 54 68 65 20 74 69 74 6c |ption. |The titl|
|00001740| 65 20 69 73 20 74 72 75 | 6e 63 61 74 65 64 20 74 |e is tru|ncated t|
|00001750| 6f 20 31 32 0a 63 68 61 | 72 61 63 74 65 72 73 2e |o 12.cha|racters.|
|00001760| 20 20 54 68 65 20 64 65 | 73 63 72 69 70 74 69 6f | The de|scriptio|
|00001770| 6e 20 69 73 20 61 20 63 | 6f 6d 6d 61 2d 73 65 70 |n is a c|omma-sep|
|00001780| 61 72 61 74 65 64 20 6c | 69 73 74 20 6f 66 20 69 |arated l|ist of i|
|00001790| 74 65 6d 20 74 65 78 74 | 73 2c 20 77 68 69 63 68 |tem text|s, which|
|000017a0| 0a 63 61 6e 20 62 65 20 | 6f 66 20 61 6e 79 20 6c |.can be |of any l|
|000017b0| 65 6e 67 74 68 2e 20 20 | 54 68 65 72 65 20 69 73 |ength. |There is|
|000017c0| 20 6e 6f 20 73 75 70 70 | 6f 72 74 20 66 6f 72 20 | no supp|ort for |
|000017d0| 74 69 63 6b 69 6e 67 2c | 20 73 68 61 64 69 6e 67 |ticking,| shading|
|000017e0| 2c 20 73 75 62 2d 6d 65 | 6e 75 73 20 6f 72 0a 61 |, sub-me|nus or.a|
|000017f0| 6e 79 20 6f 74 68 65 72 | 20 66 61 6e 63 79 20 73 |ny other| fancy s|
|00001800| 74 75 66 66 2e 0a 00 00 | 44 41 54 41 8e 03 00 00 |tuff....|DATA....|
|00001810| 4d 73 67 20 6d 6f 64 75 | 6c 65 0a 54 68 65 20 6d |Msg modu|le.The m|
|00001820| 73 67 20 6d 6f 64 75 6c | 65 20 70 72 6f 76 69 64 |sg modul|e provid|
|00001830| 65 73 20 66 61 69 72 6c | 79 20 73 69 6d 70 6c 65 |es fairl|y simple|
|00001840| 20 6d 65 73 73 61 67 65 | 20 6c 6f 6f 6b 75 70 20 | message| lookup |
|00001850| 66 61 63 69 6c 69 74 79 | 2e 0a 0a 53 75 6d 6d 61 |facility|...Summa|
|00001860| 72 79 3a 0a 7b 66 32 30 | 7d 50 52 4f 43 6d 73 67 |ry:.{f20|}PROCmsg|
|00001870| 5f 6c 6f 61 64 28 66 69 | 6c 65 24 29 09 4c 6f 61 |_load(fi|le$).Loa|
|00001880| 64 20 61 20 6d 65 73 73 | 61 67 65 20 66 69 6c 65 |d a mess|age file|
|00001890| 0a 7b 66 32 30 7d 46 4e | 6d 73 67 28 6b 65 79 24 |.{f20}FN|msg(key$|
|000018a0| 29 09 09 4c 6f 6f 6b 20 | 75 70 20 61 20 6d 65 73 |)..Look |up a mes|
|000018b0| 73 61 67 65 2c 20 72 65 | 74 75 72 6e 20 22 22 20 |sage, re|turn "" |
|000018c0| 69 66 20 6e 6f 74 20 66 | 6f 75 6e 64 0a 7b 66 32 |if not f|ound.{f2|
|000018d0| 30 7d 46 4e 6d 73 67 64 | 28 6b 65 79 24 2c 64 65 |0}FNmsgd|(key$,de|
|000018e0| 66 61 75 6c 74 24 29 09 | 4c 6f 6f 6b 20 75 70 20 |fault$).|Look up |
|000018f0| 61 20 6d 65 73 73 61 67 | 65 2c 20 72 65 74 75 72 |a messag|e, retur|
|00001900| 6e 20 64 65 66 61 75 6c | 74 20 69 66 20 6e 6f 74 |n defaul|t if not|
|00001910| 20 66 6f 75 6e 64 0a 0a | 45 61 63 68 20 6c 69 6e | found..|Each lin|
|00001920| 65 20 6f 66 0a 61 20 6d | 65 73 73 61 67 65 20 66 |e of.a m|essage f|
|00001930| 69 6c 65 20 69 73 20 6f | 66 20 74 68 65 20 66 6f |ile is o|f the fo|
|00001940| 72 6d 0a 0a 7b 2f 7d 6b | 65 79 7b 2f 7d 3a 7b 2f |rm..{/}k|ey{/}:{/|
|00001950| 7d 76 61 6c 75 65 7b 2f | 7d 0a 0a 77 68 65 72 65 |}value{/|}..where|
|00001960| 20 7b 2f 7d 6b 65 79 7b | 2f 7d 20 63 61 6e 20 62 | {/}key{|/} can b|
|00001970| 65 20 61 6e 79 20 74 65 | 78 74 2c 20 62 75 74 20 |e any te|xt, but |
|00001980| 69 73 20 63 6f 6e 76 65 | 6e 74 69 6f 6e 61 6c 6c |is conve|ntionall|
|00001990| 79 20 74 77 6f 20 74 6f | 6b 65 6e 73 20 73 65 70 |y two to|kens sep|
|000019a0| 61 72 61 74 65 64 20 62 | 79 20 61 0a 64 6f 74 2e |arated b|y a.dot.|
|000019b0| 20 20 41 20 74 79 70 69 | 63 61 6c 20 75 73 65 20 | A typi|cal use |
|000019c0| 69 73 20 69 6e 20 74 68 | 65 20 69 6e 74 65 72 61 |is in th|e intera|
|000019d0| 63 74 69 76 65 20 68 65 | 6c 70 20 73 75 70 70 6c |ctive he|lp suppl|
|000019e0| 69 65 64 20 62 79 20 74 | 68 65 20 64 6c 67 20 6d |ied by t|he dlg m|
|000019f0| 6f 64 75 6c 65 2c 0a 77 | 68 69 63 68 20 75 73 65 |odule,.w|hich use|
|00001a00| 73 20 65 6e 74 72 69 65 | 73 20 6f 66 20 74 68 65 |s entrie|s of the|
|00001a10| 20 66 6f 72 6d 3a 0a 0a | 7b 2f 7d 77 69 6e 64 6f | form:..|{/}windo|
|00001a20| 77 6e 61 6d 65 7b 2f 7d | 2e 7b 2f 7d 67 61 64 67 |wname{/}|.{/}gadg|
|00001a30| 65 74 6e 61 6d 65 7b 2f | 7d 3a 7b 2f 7d 68 65 6c |etname{/|}:{/}hel|
|00001a40| 70 20 74 65 78 74 7b 2f | 7d 0a 0a 74 68 6f 75 67 |p text{/|}..thoug|
|00001a50| 68 20 49 20 68 61 76 65 | 6e 27 74 20 61 63 74 75 |h I have|n't actu|
|00001a60| 61 6c 6c 79 20 70 72 6f | 76 69 64 65 64 20 61 6e |ally pro|vided an|
|00001a70| 79 20 68 65 6c 70 20 74 | 65 78 74 73 20 69 6e 20 |y help t|exts in |
|00001a80| 74 68 65 20 61 6c 70 68 | 61 20 76 65 72 73 69 6f |the alph|a versio|
|00001a90| 6e 20 6f 66 0a 21 4e 65 | 74 43 6f 6e 66 69 67 2e |n of.!Ne|tConfig.|
|00001aa0| 0a 0a 4d 75 6c 74 69 70 | 6c 65 20 6d 65 73 73 61 |..Multip|le messa|
|00001ab0| 67 65 20 66 69 6c 65 73 | 20 6d 61 79 20 62 65 20 |ge files| may be |
|00001ac0| 6c 6f 61 64 65 64 2e 20 | 20 54 68 65 20 6d 6f 73 |loaded. | The mos|
|00001ad0| 74 20 72 65 63 65 6e 74 | 6c 79 20 6c 6f 61 64 65 |t recent|ly loade|
|00001ae0| 64 20 66 69 6c 65 20 69 | 73 0a 73 65 61 72 63 68 |d file i|s.search|
|00001af0| 65 64 20 66 69 72 73 74 | 2c 20 73 6f 20 79 6f 75 |ed first|, so you|
|00001b00| 20 63 61 6e 20 6f 76 65 | 72 72 69 64 65 20 73 74 | can ove|rride st|
|00001b10| 61 6e 64 61 72 64 20 6d | 65 73 73 61 67 65 73 20 |andard m|essages |
|00001b20| 62 79 20 6c 6f 61 64 69 | 6e 67 20 61 6e 6f 74 68 |by loadi|ng anoth|
|00001b30| 65 72 20 66 69 6c 65 0a | 6c 61 74 65 72 2e 0a 0a |er file.|later...|
|00001b40| 42 65 63 61 75 73 65 20 | 69 74 27 73 20 69 6d 70 |Because |it's imp|
|00001b50| 6c 65 6d 65 6e 74 65 64 | 20 69 6e 20 42 41 53 49 |lemented| in BASI|
|00001b60| 43 2c 20 74 68 65 20 6d | 61 78 69 6d 75 6d 20 6c |C, the m|aximum l|
|00001b70| 69 6e 65 20 6c 65 6e 67 | 74 68 20 61 6c 6c 6f 77 |ine leng|th allow|
|00001b80| 65 64 20 69 73 20 32 35 | 35 0a 63 68 61 72 61 63 |ed is 25|5.charac|
|00001b90| 74 65 72 73 2e 0a 00 00 | 44 41 54 41 5b 15 00 00 |ters....|DATA[...|
|00001ba0| 50 72 6f 76 69 64 65 72 | 20 66 69 6c 65 0a 23 66 |Provider| file.#f|
|00001bb0| 4c 69 6e 6b 20 3d 20 46 | 5f 30 20 52 47 42 20 32 |Link = F|_0 RGB 2|
|00001bc0| 35 35 2c 30 2c 30 0a 41 | 20 70 72 6f 76 69 64 65 |55,0,0.A| provide|
|00001bd0| 72 20 66 69 6c 65 20 69 | 73 20 61 20 74 65 78 74 |r file i|s a text|
|00001be0| 20 66 69 6c 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | file co|ntaining|
|00001bf0| 20 61 20 73 65 74 20 6f | 66 20 7b 2f 7d 6b 65 79 | a set o|f {/}key|
|00001c00| 77 6f 72 64 7b 2f 7d 3a | 7b 2f 7d 76 61 6c 75 65 |word{/}:|{/}value|
|00001c10| 7b 2f 7d 0a 70 61 69 72 | 73 20 64 65 73 63 72 69 |{/}.pair|s descri|
|00001c20| 62 69 6e 67 20 74 68 65 | 20 73 65 74 2d 75 70 20 |bing the| set-up |
|00001c30| 6f 66 20 74 68 65 20 49 | 53 50 27 73 20 73 65 72 |of the I|SP's ser|
|00001c40| 76 69 63 65 2e 0a 0a 23 | 66 48 34 3a 4d 61 6e 64 |vice...#|fH4:Mand|
|00001c50| 61 74 6f 72 79 20 65 6e | 74 72 69 65 73 0a 0a 54 |atory en|tries..T|
|00001c60| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6d 75 73 |he follo|wing mus|
|00001c70| 74 20 62 65 20 73 75 70 | 70 6c 69 65 64 3a 0a 0a |t be sup|plied:..|
|00001c80| 7b 2a 7d 64 6f 6d 61 69 | 6e 7b 2a 7d 09 09 44 6f |{*}domai|n{*}..Do|
|00001c90| 6d 61 69 6e 20 69 6e 20 | 77 68 69 63 68 20 75 73 |main in |which us|
|00001ca0| 65 72 20 61 63 63 6f 75 | 6e 74 73 20 64 65 66 69 |er accou|nts defi|
|00001cb0| 6e 65 64 2c 20 65 2e 67 | 2e 20 22 66 6f 6f 2e 63 |ned, e.g|. "foo.c|
|00001cc0| 6f 2e 75 6b 22 0a 7b 2a | 7d 73 6d 74 70 5f 67 61 |o.uk".{*|}smtp_ga|
|00001cd0| 74 65 77 61 79 7b 2a 7d | 09 4e 61 6d 65 20 6f 66 |teway{*}|.Name of|
|00001ce0| 20 6d 61 69 6c 20 67 61 | 74 65 77 61 79 20 6d 61 | mail ga|teway ma|
|00001cf0| 63 68 69 6e 65 2c 20 65 | 2e 67 2e 20 22 70 6f 73 |chine, e|.g. "pos|
|00001d00| 74 2e 66 6f 6f 2e 63 6f | 2e 75 6b 22 0a 7b 2a 7d |t.foo.co|.uk".{*}|
|00001d10| 6e 6e 74 70 5f 73 65 72 | 76 65 72 7b 2a 7d 09 4e |nntp_ser|ver{*}.N|
|00001d20| 61 6d 65 20 6f 66 20 6d | 61 63 68 69 6e 65 20 73 |ame of m|achine s|
|00001d30| 65 72 76 69 6e 67 20 6e | 65 77 73 2c 20 65 2e 67 |erving n|ews, e.g|
|00001d40| 2e 20 22 6e 65 77 73 2e | 66 6f 6f 2e 63 6f 2e 75 |. "news.|foo.co.u|
|00001d50| 6b 22 0a 7b 2a 7d 6e 61 | 6d 65 5f 73 65 72 76 65 |k".{*}na|me_serve|
|00001d60| 72 31 7b 2a 7d 09 49 50 | 20 61 64 64 72 65 73 73 |r1{*}.IP| address|
|00001d70| 20 6f 66 20 61 20 6e 61 | 6d 65 20 73 65 72 76 65 | of a na|me serve|
|00001d80| 72 20 65 2e 67 2e 20 22 | 31 39 34 2e 38 30 2e 31 |r e.g. "|194.80.1|
|00001d90| 33 32 2e 33 22 0a 0a 23 | 66 48 34 3a 4f 70 74 69 |32.3"..#|fH4:Opti|
|00001da0| 6f 6e 61 6c 20 65 6e 74 | 72 69 65 73 0a 0a 49 74 |onal ent|ries..It|
|00001db0| 20 6d 61 79 20 61 6c 73 | 6f 20 73 65 74 20 74 68 | may als|o set th|
|00001dc0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 6f 20 6f |e follow|ing to o|
|00001dd0| 74 68 65 72 20 74 68 61 | 6e 20 74 68 65 20 64 65 |ther tha|n the de|
|00001de0| 66 61 75 6c 74 73 20 73 | 68 6f 77 6e 20 69 6e 20 |faults s|hown in |
|00001df0| 70 61 72 65 6e 74 68 65 | 73 69 73 3a 0a 0a 7b 2a |parenthe|sis:..{*|
|00001e00| 7d 70 72 6f 76 69 64 65 | 72 5f 6e 61 6d 65 7b 2a |}provide|r_name{*|
|00001e10| 7d 09 4c 6f 6e 67 65 72 | 20 76 65 72 73 69 6f 6e |}.Longer| version|
|00001e20| 20 6f 66 20 70 72 6f 76 | 69 64 65 72 27 73 20 6e | of prov|ider's n|
|00001e30| 61 6d 65 20 28 66 69 6c | 65 6e 61 6d 65 29 0a 7b |ame (fil|ename).{|
|00001e40| 2a 7d 70 72 6f 74 6f 63 | 6f 6c 73 7b 2a 7d 09 09 |*}protoc|ols{*}..|
|00001e50| 4c 69 6e 6b 20 70 72 6f | 74 6f 63 6f 6c 73 20 73 |Link pro|tocols s|
|00001e60| 75 70 70 6f 72 74 65 64 | 20 28 22 53 4c 49 50 22 |upported| ("SLIP"|
|00001e70| 29 2e 20 20 4d 61 79 20 | 62 65 20 22 53 4c 49 50 |). May |be "SLIP|
|00001e80| 22 2c 0a 09 09 09 22 50 | 50 50 22 2c 20 22 50 50 |",...."P|PP", "PP|
|00001e90| 50 2d 50 41 50 22 2c 20 | 22 53 4c 49 50 2c 50 50 |P-PAP", |"SLIP,PP|
|00001ea0| 50 22 20 6f 72 20 22 53 | 4c 49 50 2c 50 50 50 2d |P" or "S|LIP,PPP-|
|00001eb0| 50 41 50 22 2e 0a 09 09 | 09 57 69 74 68 20 50 50 |PAP"....|.With PP|
|00001ec0| 50 2d 50 41 50 2c 20 50 | 41 50 20 61 75 74 68 65 |P-PAP, P|AP authe|
|00001ed0| 6e 74 69 63 61 74 69 6f | 6e 20 69 73 20 75 73 65 |nticatio|n is use|
|00001ee0| 64 2e 0a 7b 2a 7d 72 6f | 75 74 65 72 7b 2a 7d 09 |d..{*}ro|uter{*}.|
|00001ef0| 09 49 50 20 61 64 64 72 | 65 73 73 20 6f 66 20 6d |.IP addr|ess of m|
|00001f00| 61 63 68 69 6e 65 20 75 | 73 65 72 20 69 73 20 63 |achine u|ser is c|
|00001f10| 6f 6e 6e 65 63 74 65 64 | 20 74 6f 20 28 6e 61 6d |onnected| to (nam|
|00001f20| 65 5f 73 65 72 76 65 72 | 31 29 2e 0a 09 09 09 57 |e_server|1).....W|
|00001f30| 69 74 68 20 61 20 73 69 | 6e 67 6c 65 20 53 4c 49 |ith a si|ngle SLI|
|00001f40| 50 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 2c 20 74 68 |P connec|tion, th|
|00001f50| 69 73 20 64 6f 65 73 6e | 27 74 20 72 65 61 6c 6c |is doesn|'t reall|
|00001f60| 79 0a 09 09 09 6d 61 74 | 74 65 72 2e 20 20 48 6f |y....mat|ter. Ho|
|00001f70| 77 65 76 65 72 2c 20 69 | 74 20 73 68 6f 75 6c 64 |wever, i|t should|
|00001f80| 20 67 65 6e 65 72 61 6c | 6c 79 20 73 65 74 20 74 | general|ly set t|
|00001f90| 6f 20 6f 6e 65 20 6f 66 | 0a 09 09 09 74 68 65 20 |o one of|....the |
|00001fa0| 70 72 6f 76 69 64 65 72 | 27 73 20 6d 61 63 68 69 |provider|'s machi|
|00001fb0| 6e 65 73 2e 20 20 54 68 | 65 20 61 64 64 72 65 73 |nes. Th|e addres|
|00001fc0| 73 20 77 69 6c 6c 20 62 | 65 20 75 73 65 64 20 69 |s will b|e used i|
|00001fd0| 6e 0a 09 09 09 74 68 65 | 20 69 66 63 6f 6e 66 69 |n....the| ifconfi|
|00001fe0| 67 20 63 6f 6d 6d 61 6e | 64 20 61 6e 64 20 61 73 |g comman|d and as|
|00001ff0| 20 61 20 64 65 66 61 75 | 6c 74 20 64 65 73 74 69 | a defau|lt desti|
|00002000| 6e 61 74 69 6f 6e 20 74 | 6f 0a 09 09 09 70 69 6e |nation t|o....pin|
|00002010| 67 2e 0a 7b 2a 7d 6e 65 | 74 6d 61 73 6b 7b 2a 7d |g..{*}ne|tmask{*}|
|00002020| 09 09 4e 65 74 20 6d 61 | 73 6b 20 66 6f 72 20 74 |..Net ma|sk for t|
|00002030| 68 65 20 53 4c 49 50 20 | 72 6f 75 74 65 20 28 22 |he SLIP |route ("|
|00002040| 30 78 66 66 66 66 66 66 | 30 30 22 29 2e 0a 09 09 |0xffffff|00")....|
|00002050| 09 41 67 61 69 6e 2c 20 | 64 6f 65 73 6e 27 74 20 |.Again, |doesn't |
|00002060| 72 65 61 6c 6c 79 20 6d | 61 74 74 65 72 20 77 69 |really m|atter wi|
|00002070| 74 68 20 53 4c 49 50 2e | 0a 7b 2a 7d 66 69 78 65 |th SLIP.|.{*}fixe|
|00002080| 64 5f 69 70 7b 2a 7d 09 | 09 22 31 22 20 69 66 20 |d_ip{*}.|."1" if |
|00002090| 75 73 65 72 73 20 68 61 | 76 65 20 61 20 66 69 78 |users ha|ve a fix|
|000020a0| 65 64 20 49 50 20 61 64 | 64 72 65 73 73 20 28 22 |ed IP ad|dress ("|
|000020b0| 22 29 0a 7b 2a 7d 6d 74 | 75 7b 2a 7d 09 09 4f 76 |").{*}mt|u{*}..Ov|
|000020c0| 65 72 72 69 64 65 20 64 | 65 66 61 75 6c 74 20 4d |erride d|efault M|
|000020d0| 54 55 20 75 73 65 64 20 | 62 79 20 53 4c 49 50 20 |TU used |by SLIP |
|000020e0| 28 22 22 29 0a 7b 2a 7d | 6d 61 69 6c 5f 70 72 6f |("").{*}|mail_pro|
|000020f0| 74 6f 63 6f 6c 7b 2a 7d | 09 48 6f 77 20 6d 61 69 |tocol{*}|.How mai|
|00002100| 6c 20 69 73 20 64 65 6c | 69 76 65 72 65 64 20 74 |l is del|ivered t|
|00002110| 6f 20 75 73 65 72 3a 20 | 53 4d 54 50 2c 20 50 4f |o user: |SMTP, PO|
|00002120| 50 20 6f 72 20 50 4f 50 | 2d 64 69 66 62 6f 78 0a |P or POP|-difbox.|
|00002130| 09 09 09 28 22 50 4f 50 | 22 29 2e 20 20 50 4f 50 |...("POP|"). POP|
|00002140| 2d 64 69 66 62 6f 78 20 | 6d 65 61 6e 73 20 74 68 |-difbox |means th|
|00002150| 65 20 6d 61 69 6c 62 6f | 78 20 6e 61 6d 65 20 64 |e mailbo|x name d|
|00002160| 69 66 66 65 72 73 0a 09 | 09 09 66 72 6f 6d 20 74 |iffers..|..from t|
|00002170| 68 65 20 61 63 63 6f 75 | 6e 74 20 6e 61 6d 65 2e |he accou|nt name.|
|00002180| 0a 7b 2a 7d 70 6f 70 5f | 73 65 72 76 65 72 7b 2a |.{*}pop_|server{*|
|00002190| 7d 09 4e 61 6d 65 20 6f | 66 20 6d 61 63 68 69 6e |}.Name o|f machin|
|000021a0| 65 20 73 65 72 76 69 6e | 67 20 50 4f 50 33 20 6d |e servin|g POP3 m|
|000021b0| 61 69 6c 20 28 72 65 71 | 75 69 72 65 64 20 69 66 |ail (req|uired if|
|000021c0| 20 50 4f 50 29 0a 7b 2a | 7d 6e 61 6d 65 5f 73 65 | POP).{*|}name_se|
|000021d0| 72 76 65 72 32 7b 2a 7d | 09 41 64 64 69 74 69 6f |rver2{*}|.Additio|
|000021e0| 6e 61 6c 20 6e 61 6d 65 | 20 73 65 72 76 65 72 20 |nal name| server |
|000021f0| 28 22 22 29 0a 7b 2a 7d | 6e 61 6d 65 5f 73 65 72 |("").{*}|name_ser|
|00002200| 76 65 72 33 7b 2a 7d 09 | 41 64 64 69 74 69 6f 6e |ver3{*}.|Addition|
|00002210| 61 6c 20 6e 61 6d 65 20 | 73 65 72 76 65 72 20 28 |al name |server (|
|00002220| 22 22 29 0a 7b 2a 7d 74 | 69 6d 65 5f 73 65 72 76 |"").{*}t|ime_serv|
|00002230| 65 72 7b 2a 7d 09 4f 70 | 74 69 6f 6e 61 6c 20 4e |er{*}.Op|tional N|
|00002240| 54 50 20 73 65 72 76 65 | 72 20 5b 63 75 72 72 65 |TP serve|r [curre|
|00002250| 6e 74 6c 79 20 75 6e 75 | 73 65 64 5d 20 28 22 22 |ntly unu|sed] (""|
|00002260| 29 0a 7b 2a 7d 6e 65 77 | 73 5f 67 72 6f 75 70 73 |).{*}new|s_groups|
|00002270| 7b 2a 7d 09 4c 69 73 74 | 20 6f 66 20 72 65 63 6f |{*}.List| of reco|
|00002280| 6d 6d 65 6e 64 65 64 20 | 70 72 6f 76 69 64 65 72 |mmended |provider|
|00002290| 2d 73 70 65 63 69 66 69 | 63 20 6e 65 77 73 20 67 |-specifi|c news g|
|000022a0| 72 6f 75 70 73 20 28 22 | 22 29 0a 7b 2a 7d 6d 6f |roups ("|").{*}mo|
|000022b0| 64 65 72 61 74 6f 72 73 | 7b 2a 7d 09 57 68 65 72 |derators|{*}.Wher|
|000022c0| 65 20 74 6f 20 73 65 6e | 64 20 6d 6f 64 65 72 61 |e to sen|d modera|
|000022d0| 74 65 64 20 70 6f 73 74 | 73 20 28 22 6d 6f 64 65 |ted post|s ("mode|
|000022e0| 72 61 74 6f 72 73 2e 75 | 75 2e 6e 65 74 22 29 0a |rators.u|u.net").|
|000022f0| 7b 2a 7d 68 74 74 70 5f | 70 72 6f 78 79 7b 2a 7d |{*}http_|proxy{*}|
|00002300| 09 50 72 6f 78 79 20 73 | 65 72 76 65 72 20 66 6f |.Proxy s|erver fo|
|00002310| 72 20 68 74 74 70 20 65 | 2e 67 2e 20 22 63 61 63 |r http e|.g. "cac|
|00002320| 68 65 2e 66 6f 6f 2e 63 | 6f 2e 75 6b 3a 38 30 38 |he.foo.c|o.uk:808|
|00002330| 30 22 20 28 22 22 29 0a | 7b 2a 7d 66 74 70 5f 70 |0" ("").|{*}ftp_p|
|00002340| 72 6f 78 79 7b 2a 7d 09 | 09 50 72 6f 78 79 20 66 |roxy{*}.|.Proxy f|
|00002350| 6f 72 20 66 74 70 20 55 | 52 4c 73 20 28 22 22 29 |or ftp U|RLs ("")|
|00002360| 0a 7b 2a 7d 67 6f 70 68 | 65 72 5f 70 72 6f 78 79 |.{*}goph|er_proxy|
|00002370| 7b 2a 7d 09 50 72 6f 78 | 79 20 66 6f 72 20 67 6f |{*}.Prox|y for go|
|00002380| 70 68 65 72 20 55 52 4c | 73 20 28 22 22 29 0a 7b |pher URL|s ("").{|
|00002390| 2a 7d 77 61 69 73 5f 70 | 72 6f 78 79 7b 2a 7d 09 |*}wais_p|roxy{*}.|
|000023a0| 50 72 6f 78 79 20 66 6f | 72 20 77 61 69 73 20 55 |Proxy fo|r wais U|
|000023b0| 52 4c 73 20 28 22 22 29 | 0a 7b 2a 7d 6e 6f 70 72 |RLs ("")|.{*}nopr|
|000023c0| 6f 78 79 7b 2a 7d 09 09 | 44 6f 6d 61 69 6e 20 69 |oxy{*}..|Domain i|
|000023d0| 6e 20 77 68 69 63 68 20 | 6e 6f 20 70 72 6f 78 79 |n which |no proxy|
|000023e0| 69 6e 67 20 74 6f 20 62 | 65 20 75 73 65 64 20 28 |ing to b|e used (|
|000023f0| 22 22 29 0a 7b 2a 7d 65 | 78 74 72 61 64 65 66 31 |"").{*}e|xtradef1|
|00002400| 7b 2a 7d 09 09 44 65 66 | 69 6e 69 74 69 6f 6e 20 |{*}..Def|inition |
|00002410| 6f 66 20 65 78 74 72 61 | 20 66 69 65 6c 64 20 28 |of extra| field (|
|00002420| 22 22 29 20 69 6e 20 74 | 68 65 20 66 6f 72 6d 61 |"") in t|he forma|
|00002430| 74 0a 09 09 09 20 50 72 | 6f 6d 70 74 7c 6d 61 78 |t.... Pr|ompt|max|
|00002440| 6c 65 6e 67 74 68 7c 76 | 61 6c 69 64 61 74 69 6f |length|v|alidatio|
|00002450| 6e 7c 63 6f 6d 6d 65 6e | 74 61 72 79 0a 09 09 09 |n|commen|tary....|
|00002460| 54 68 65 20 76 61 6c 75 | 65 20 65 6e 74 65 72 65 |The valu|e entere|
|00002470| 64 20 62 79 20 74 68 65 | 20 75 73 65 72 20 6d 61 |d by the| user ma|
|00002480| 79 20 62 65 20 61 63 63 | 65 73 73 65 64 20 69 6e |y be acc|essed in|
|00002490| 20 74 68 65 0a 09 09 09 | 73 6c 69 70 64 69 61 6c | the....|slipdial|
|000024a0| 20 6c 6f 67 69 6e 20 73 | 63 72 69 70 74 20 61 73 | login s|cript as|
|000024b0| 20 25 65 78 74 72 61 31 | 2e 0a 09 09 09 53 65 65 | %extra1|.....See|
|000024c0| 20 74 68 65 20 3c 5a 65 | 74 6e 65 74 3d 3e 2a 46 | the <Ze|tnet=>*F|
|000024d0| 69 6c 65 72 5f 52 75 6e | 20 41 63 6f 72 6e 65 74 |iler_Run| Acornet|
|000024e0| 3a 55 74 69 6c 73 2e 21 | 4e 65 74 43 6f 6e 66 69 |:Utils.!|NetConfi|
|000024f0| 67 2e 50 72 6f 76 69 64 | 65 72 73 2e 55 4b 2e 5a |g.Provid|ers.UK.Z|
|00002500| 65 74 6e 65 74 3e 20 70 | 72 6f 76 64 65 72 20 66 |etnet> p|rovder f|
|00002510| 69 6c 65 20 61 73 20 61 | 6e 20 65 78 61 6d 70 6c |ile as a|n exampl|
|00002520| 65 2e 0a 7b 2a 7d 65 78 | 74 72 61 64 65 66 32 7b |e..{*}ex|tradef2{|
|00002530| 2a 7d 09 09 53 65 63 6f | 6e 64 20 65 78 74 72 61 |*}..Seco|nd extra|
|00002540| 20 66 69 65 6c 64 20 28 | 22 22 29 0a 7b 2a 7d 65 | field (|"").{*}e|
|00002550| 78 74 72 61 64 65 66 33 | 7b 2a 7d 09 09 54 68 69 |xtradef3|{*}..Thi|
|00002560| 72 64 20 65 78 74 72 61 | 20 66 69 65 6c 64 20 28 |rd extra| field (|
|00002570| 22 22 29 0a 7b 2a 7d 61 | 63 63 6f 75 6e 74 5f 76 |"").{*}a|ccount_v|
|00002580| 61 6c 69 64 61 74 69 6f | 6e 7b 2a 7d 09 49 63 6f |alidatio|n{*}.Ico|
|00002590| 6e 20 76 61 6c 69 64 61 | 74 69 6f 6e 20 66 6f 72 |n valida|tion for|
|000025a0| 20 61 63 63 6f 75 6e 74 | 20 6e 61 6d 65 20 28 22 | account| name ("|
|000025b0| 41 41 2d 5a 61 2d 7a 30 | 2d 39 2d 22 29 0a 09 09 |AA-Za-z0|-9-")...|
|000025c0| 09 65 2e 67 2e 20 22 41 | 30 2d 39 22 20 74 6f 20 |.e.g. "A|0-9" to |
|000025d0| 61 6c 6c 6f 77 20 6e 75 | 6d 65 72 69 63 20 76 61 |allow nu|meric va|
|000025e0| 6c 75 65 73 20 6f 6e 6c | 79 0a 0a 23 66 48 34 3a |lues onl|y..#fH4:|
|000025f0| 50 6f 69 6e 74 73 20 6f | 66 20 50 72 65 73 65 6e |Points o|f Presen|
|00002600| 63 65 0a 0a 5a 65 72 6f | 20 6f 72 20 6d 6f 72 65 |ce..Zero| or more|
|00002610| 20 6c 69 6e 65 73 20 6f | 66 20 74 68 65 20 66 6f | lines o|f the fo|
|00002620| 72 6d 0a 0a 20 20 7b 2a | 7d 70 6f 70 3a 7b 2a 7d |rm.. {*|}pop:{*}|
|00002630| 7b 2f 7d 6c 6f 63 61 74 | 69 6f 6e 7b 2a 7d 3a 7b |{/}locat|ion{*}:{|
|00002640| 2a 7d 70 68 6f 6e 65 6e | 75 6d 62 65 72 7b 2f 7d |*}phonen|umber{/}|
|00002650| 0a 0a 6d 61 79 20 62 65 | 20 73 70 65 63 69 66 69 |..may be| specifi|
|00002660| 65 64 20 74 6f 20 62 65 | 20 70 72 65 73 65 6e 74 |ed to be| present|
|00002670| 65 64 20 74 6f 20 74 68 | 65 20 75 73 65 72 2e 20 |ed to th|e user. |
|00002680| 20 54 68 65 20 75 73 65 | 72 20 77 69 6c 6c 20 61 | The use|r will a|
|00002690| 6c 77 61 79 73 20 68 61 | 76 65 20 74 68 65 0a 61 |lways ha|ve the.a|
|000026a0| 64 64 69 74 69 6f 6e 61 | 6c 20 6f 70 74 69 6f 6e |dditiona|l option|
|000026b0| 20 6f 66 20 73 75 70 70 | 6c 79 69 6e 67 20 61 6e | of supp|lying an|
|000026c0| 20 22 4f 74 68 65 72 22 | 20 6e 75 6d 62 65 72 2c | "Other"| number,|
|000026d0| 20 65 2e 67 2e 20 69 6e | 20 74 68 65 20 63 61 73 | e.g. in| the cas|
|000026e0| 65 20 77 68 65 72 65 20 | 61 0a 6e 65 77 20 50 6f |e where |a.new Po|
|000026f0| 50 20 68 61 73 20 62 65 | 65 6e 20 61 64 64 65 64 |P has be|en added|
|00002700| 20 73 69 6e 63 65 20 74 | 68 65 20 6c 69 73 74 20 | since t|he list |
|00002710| 77 61 73 20 75 70 64 61 | 74 65 64 2e 20 20 49 66 |was upda|ted. If|
|00002720| 20 6e 6f 20 7b 2a 7d 70 | 6f 70 3a 7b 2a 7d 20 6c | no {*}p|op:{*} l|
|00002730| 69 6e 65 73 0a 61 72 65 | 20 70 72 65 73 65 6e 74 |ines.are| present|
|00002740| 2c 20 74 68 65 20 75 73 | 65 72 20 77 69 6c 6c 20 |, the us|er will |
|00002750| 6a 75 73 74 20 62 65 20 | 67 69 76 65 6e 20 61 20 |just be |given a |
|00002760| 62 6f 78 20 69 6e 74 6f | 20 77 68 69 63 68 20 74 |box into| which t|
|00002770| 6f 20 65 6e 74 65 72 20 | 61 20 6e 75 6d 62 65 72 |o enter |a number|
|00002780| 2e 0a 54 68 69 73 20 69 | 73 20 73 75 69 74 61 62 |..This i|s suitab|
|00002790| 6c 65 20 66 6f 72 20 70 | 72 6f 76 69 64 65 72 73 |le for p|roviders|
|000027a0| 20 73 75 63 68 20 61 73 | 20 44 65 6d 6f 6e 20 77 | such as| Demon w|
|000027b0| 68 6f 20 68 61 76 65 20 | 6d 6f 72 65 20 50 6f 50 |ho have |more PoP|
|000027c0| 73 20 74 68 61 6e 20 69 | 73 0a 73 65 6e 73 69 62 |s than i|s.sensib|
|000027d0| 6c 65 20 74 6f 20 64 69 | 73 70 6c 61 79 20 69 6e |le to di|splay in|
|000027e0| 20 61 20 6d 65 6e 75 2e | 0a 0a 23 66 48 34 3a 4c | a menu.|..#fH4:L|
|000027f0| 6f 67 69 6e 20 73 65 71 | 75 65 6e 63 65 0a 0a 54 |ogin seq|uence..T|
|00002800| 68 65 73 65 20 76 61 72 | 79 20 63 6f 6e 73 69 64 |hese var|y consid|
|00002810| 65 72 61 62 6c 79 20 62 | 65 74 77 65 65 6e 20 70 |erably b|etween p|
|00002820| 72 6f 76 69 64 65 72 73 | 2e 20 20 48 6f 77 65 76 |roviders|. Howev|
|00002830| 65 72 2c 20 6d 61 6e 79 | 20 66 69 74 20 69 6e 74 |er, many| fit int|
|00002840| 6f 20 74 68 69 73 0a 70 | 61 74 74 65 72 6e 3a 0a |o this.p|attern:.|
|00002850| 23 69 6e 64 65 6e 74 20 | 32 0a 50 72 6f 76 69 64 |#indent |2.Provid|
|00002860| 65 72 20 73 65 6e 64 73 | 20 6c 6f 67 69 6e 20 70 |er sends| login p|
|00002870| 72 6f 6d 70 74 2c 20 65 | 2e 67 2e 20 7b 2a 7d 6c |rompt, e|.g. {*}l|
|00002880| 6f 67 69 6e 3a 7b 2a 7d | 0a 55 73 65 72 20 72 65 |ogin:{*}|.User re|
|00002890| 73 70 6f 6e 64 73 20 77 | 69 74 68 20 61 63 63 6f |sponds w|ith acco|
|000028a0| 75 6e 74 20 6e 61 6d 65 | 0a 50 72 6f 76 69 64 65 |unt name|.Provide|
|000028b0| 72 20 73 65 6e 64 73 20 | 70 61 73 73 77 6f 72 64 |r sends |password|
|000028c0| 20 70 72 6f 6d 70 74 2c | 20 65 2e 67 2e 20 7b 2a | prompt,| e.g. {*|
|000028d0| 7d 70 61 73 73 77 6f 72 | 64 3a 7b 2a 7d 0a 55 73 |}passwor|d:{*}.Us|
|000028e0| 65 72 20 72 65 73 70 6f | 6e 64 73 20 77 69 74 68 |er respo|nds with|
|000028f0| 20 70 61 73 73 77 6f 72 | 64 0a 50 72 6f 76 69 64 | passwor|d.Provid|
|00002900| 65 72 20 73 65 6e 64 73 | 20 70 72 6f 74 6f 63 6f |er sends| protoco|
|00002910| 6c 20 70 72 6f 6d 70 74 | 2c 20 65 2e 67 2e 20 7b |l prompt|, e.g. {|
|00002920| 2a 7d 70 72 6f 74 6f 63 | 6f 6c 3a 7b 2a 7d 0a 55 |*}protoc|ol:{*}.U|
|00002930| 73 65 72 20 72 65 73 70 | 6f 6e 64 73 20 77 69 74 |ser resp|onds wit|
|00002940| 68 20 70 72 6f 74 6f 63 | 6f 6c 20 72 65 71 75 69 |h protoc|ol requi|
|00002950| 72 65 64 2c 20 65 2e 67 | 2e 20 7b 2a 7d 73 6c 69 |red, e.g|. {*}sli|
|00002960| 70 7b 2a 7d 0a 49 66 20 | 64 79 6e 61 6d 69 63 20 |p{*}.If |dynamic |
|00002970| 49 50 20 61 64 64 72 65 | 73 73 69 6e 67 20 6f 76 |IP addre|ssing ov|
|00002980| 65 72 20 53 4c 49 50 2c | 20 70 72 6f 76 69 64 65 |er SLIP,| provide|
|00002990| 72 20 73 65 6e 64 73 20 | 49 50 20 61 64 64 72 65 |r sends |IP addre|
|000029a0| 73 73 2c 20 65 2e 67 2e | 20 7b 2a 7d 31 39 34 2e |ss, e.g.| {*}194.|
|000029b0| 38 30 2e 31 33 32 2e 31 | 38 37 7b 2a 7d 0a 70 6f |80.132.1|87{*}.po|
|000029c0| 73 73 69 62 6c 79 20 61 | 6d 6f 6e 67 20 77 65 6c |ssibly a|mong wel|
|000029d0| 63 6f 6d 65 20 6d 65 73 | 73 61 67 65 20 65 74 63 |come mes|sage etc|
|000029e0| 2e 0a 50 72 6f 76 69 64 | 65 72 20 73 65 6e 64 73 |..Provid|er sends|
|000029f0| 20 63 6f 6e 66 69 72 6d | 61 74 69 6f 6e 20 74 68 | confirm|ation th|
|00002a00| 61 74 20 53 4c 49 50 20 | 6f 72 20 50 50 50 20 69 |at SLIP |or PPP i|
|00002a10| 73 20 6a 75 73 74 20 61 | 62 6f 75 74 20 74 6f 20 |s just a|bout to |
|00002a20| 73 74 61 72 74 2c 20 65 | 2e 67 2e 20 7b 2a 7d 65 |start, e|.g. {*}e|
|00002a30| 6e 61 62 6c 65 64 7b 2a | 7d 0a 23 69 6e 64 65 6e |nabled{*|}.#inden|
|00002a40| 74 0a 0a 49 66 20 73 6f | 2c 20 74 68 65 20 66 6f |t..If so|, the fo|
|00002a50| 6c 6c 6f 77 69 6e 67 20 | 6b 65 79 77 6f 72 64 2f |llowing |keyword/|
|00002a60| 76 61 6c 75 65 20 70 61 | 69 72 73 20 63 61 6e 20 |value pa|irs can |
|00002a70| 73 70 65 63 69 66 79 20 | 74 68 65 20 6c 6f 67 69 |specify |the logi|
|00002a80| 6e 3a 0a 0a 7b 2a 7d 6c | 6f 67 69 6e 5f 70 72 6f |n:..{*}l|ogin_pro|
|00002a90| 6d 70 74 7b 2a 7d 09 4c | 6f 67 69 6e 20 70 72 6f |mpt{*}.L|ogin pro|
|00002aa0| 6d 70 74 20 28 22 6f 67 | 69 6e 3a 22 29 0a 7b 2a |mpt ("og|in:").{*|
|00002ab0| 7d 70 61 73 73 77 6f 72 | 64 5f 70 72 6f 6d 70 74 |}passwor|d_prompt|
|00002ac0| 7b 2a 7d 09 50 61 73 73 | 77 6f 72 64 20 70 72 6f |{*}.Pass|word pro|
|00002ad0| 6d 70 74 20 28 22 61 73 | 73 77 6f 72 64 3a 22 29 |mpt ("as|sword:")|
|00002ae0| 0a 7b 2a 7d 70 72 6f 74 | 6f 63 6f 6c 5f 70 72 6f |.{*}prot|ocol_pro|
|00002af0| 6d 70 74 7b 2a 7d 09 50 | 72 6f 74 6f 63 6f 6c 20 |mpt{*}.P|rotocol |
|00002b00| 70 72 6f 6d 70 74 20 28 | 22 6f 74 6f 63 6f 6c 3a |prompt (|"otocol:|
|00002b10| 22 29 20 28 22 22 20 69 | 6d 70 6c 69 65 73 20 6e |") ("" i|mplies n|
|00002b20| 6f 6e 65 29 0a 7b 2a 7d | 70 72 6f 74 6f 63 6f 6c |one).{*}|protocol|
|00002b30| 5f 72 65 70 6c 79 7b 2a | 7d 09 50 72 6f 74 6f 63 |_reply{*|}.Protoc|
|00002b40| 6f 6c 20 72 65 70 6c 79 | 20 28 22 73 6c 69 70 22 |ol reply| ("slip"|
|00002b50| 29 0a 7b 2a 7d 70 70 70 | 5f 70 72 6f 74 6f 63 6f |).{*}ppp|_protoco|
|00002b60| 6c 5f 72 65 70 6c 79 7b | 2a 7d 09 50 72 6f 74 6f |l_reply{|*}.Proto|
|00002b70| 63 6f 6c 20 72 65 70 6c | 79 20 66 6f 72 20 50 50 |col repl|y for PP|
|00002b80| 50 20 28 70 72 6f 74 6f | 63 6f 6c 5f 72 65 70 6c |P (proto|col_repl|
|00002b90| 79 29 0a 7b 2a 7d 73 74 | 61 72 74 75 70 5f 70 72 |y).{*}st|artup_pr|
|00002ba0| 6f 6d 70 74 7b 2a 7d 09 | 53 74 72 69 6e 67 20 73 |ompt{*}.|String s|
|00002bb0| 65 6e 74 20 62 65 66 6f | 72 65 20 73 74 61 72 74 |ent befo|re start|
|00002bc0| 69 6e 67 20 53 4c 49 50 | 2f 50 50 50 20 28 22 22 |ing SLIP|/PPP (""|
|00002bd0| 2c 20 69 6d 70 6c 69 65 | 73 20 6e 6f 6e 65 29 0a |, implie|s none).|
|00002be0| 0a 41 6c 74 65 72 6e 61 | 74 69 76 65 6c 79 2c 20 |.Alterna|tively, |
|00002bf0| 61 20 73 65 67 6d 65 6e | 74 20 6f 66 20 53 4c 49 |a segmen|t of SLI|
|00002c00| 50 64 69 61 6c 20 73 63 | 72 69 70 74 20 63 61 6e |Pdial sc|ript can|
|00002c10| 20 62 65 20 73 75 70 70 | 6c 69 65 64 20 77 69 74 | be supp|lied wit|
|00002c20| 68 20 65 61 63 68 20 6c | 69 6e 65 0a 70 72 65 66 |h each l|ine.pref|
|00002c30| 69 78 65 64 20 77 69 74 | 68 20 61 20 7b 2a 7d 6c |ixed wit|h a {*}l|
|00002c40| 6f 67 69 6e 3a 7b 2a 7d | 20 6b 65 79 77 6f 72 64 |ogin:{*}| keyword|
|00002c50| 2e 0a 0a 4f 6e 20 65 6e | 74 72 79 20 74 6f 20 74 |...On en|try to t|
|00002c60| 68 65 20 73 63 72 69 70 | 74 20 73 65 67 6d 65 6e |he scrip|t segmen|
|00002c70| 74 2c 20 74 68 65 20 6d | 6f 64 65 6d 20 68 61 73 |t, the m|odem has|
|00002c80| 20 64 69 61 6c 6c 65 64 | 20 61 6e 64 20 63 6f 6e | dialled| and con|
|00002c90| 6e 65 63 74 65 64 2e 20 | 20 54 68 65 0a 73 65 67 |nected. | The.seg|
|00002ca0| 6d 65 6e 74 20 73 68 6f | 75 6c 64 20 65 69 74 68 |ment sho|uld eith|
|00002cb0| 65 72 20 72 65 74 75 72 | 6e 20 77 69 74 68 20 74 |er retur|n with t|
|00002cc0| 68 65 20 76 61 6c 75 65 | 20 31 20 69 66 20 6c 6f |he value| 1 if lo|
|00002cd0| 67 69 6e 20 77 61 73 20 | 73 75 63 63 65 73 73 66 |gin was |successf|
|00002ce0| 75 6c 2c 20 6f 72 0a 77 | 69 74 68 20 74 68 65 20 |ul, or.w|ith the |
|00002cf0| 76 61 6c 75 65 20 30 20 | 69 66 20 6e 6f 74 2c 20 |value 0 |if not, |
|00002d00| 68 61 76 69 6e 67 20 72 | 65 70 6f 72 74 65 64 20 |having r|eported |
|00002d10| 61 6e 20 65 72 72 6f 72 | 2e 20 20 41 20 73 74 61 |an error|. A sta|
|00002d20| 6e 64 61 72 64 20 77 61 | 79 20 6f 66 0a 72 65 74 |ndard wa|y of.ret|
|00002d30| 75 72 6e 69 6e 67 20 77 | 69 74 68 20 65 72 72 6f |urning w|ith erro|
|00002d40| 72 20 73 74 61 74 75 73 | 20 69 73 20 70 72 6f 76 |r status| is prov|
|00002d50| 69 64 65 64 2c 20 6e 61 | 6d 65 6c 79 20 7b 66 43 |ided, na|mely {fC|
|00002d60| 6f 64 65 7d 67 6f 74 6f | 20 41 62 6f 72 74 44 69 |ode}goto| AbortDi|
|00002d70| 61 6c 55 70 7b 66 7d 2e | 0a 0a 54 68 65 20 66 6f |alUp{f}.|..The fo|
|00002d80| 6c 6c 6f 77 69 6e 67 20 | 53 4c 49 50 64 69 61 6c |llowing |SLIPdial|
|00002d90| 20 76 61 72 69 61 62 6c | 65 73 20 61 72 65 20 64 | variabl|es are d|
|00002da0| 65 66 69 6e 65 64 3a 0a | 0a 7b 66 32 30 7d 25 61 |efined:.|.{f20}%a|
|00002db0| 63 63 6f 75 6e 74 7b 66 | 7d 09 41 63 63 6f 75 6e |ccount{f|}.Accoun|
|00002dc0| 74 20 6e 61 6d 65 0a 7b | 66 32 30 7d 25 6e 6f 64 |t name.{|f20}%nod|
|00002dd0| 65 7b 66 7d 09 4e 6f 72 | 6d 61 6c 6c 79 20 73 79 |e{f}.Nor|mally sy|
|00002de0| 6e 6f 6e 79 6d 20 66 6f | 72 20 61 63 63 6f 75 6e |nonym fo|r accoun|
|00002df0| 74 2e 20 20 48 6f 77 65 | 76 65 72 2c 20 6e 6f 6e |t. Howe|ver, non|
|00002e00| 2d 61 6c 70 68 61 6e 75 | 6d 65 72 69 63 73 0a 09 |-alphanu|merics..|
|00002e10| 09 61 72 65 20 63 6f 6e | 76 65 72 74 65 64 20 74 |.are con|verted t|
|00002e20| 6f 20 22 2d 22 20 61 6e | 64 20 70 72 65 66 69 78 |o "-" an|d prefix|
|00002e30| 20 22 6e 22 20 61 64 64 | 65 64 20 69 66 20 61 6c | "n" add|ed if al|
|00002e40| 6c 20 6e 75 6d 65 72 69 | 63 2e 0a 7b 66 32 30 7d |l numeri|c..{f20}|
|00002e50| 25 70 61 73 73 77 6f 72 | 64 7b 66 7d 09 50 61 73 |%passwor|d{f}.Pas|
|00002e60| 73 77 6f 72 64 0a 7b 66 | 32 30 7d 25 72 6f 75 74 |sword.{f|20}%rout|
|00002e70| 65 72 7b 66 7d 09 09 52 | 6f 75 74 65 72 0a 7b 66 |er{f}..R|outer.{f|
|00002e80| 32 30 7d 25 69 70 61 64 | 64 72 65 73 73 7b 66 7d |20}%ipad|dress{f}|
|00002e90| 09 49 50 20 61 64 64 72 | 65 73 73 20 28 66 69 78 |.IP addr|ess (fix|
|00002ea0| 65 64 20 49 50 20 6f 6e | 6c 79 29 0a 7b 66 32 30 |ed IP on|ly).{f20|
|00002eb0| 7d 25 6c 69 6e 6b 7b 66 | 7d 09 53 4c 49 50 20 6f |}%link{f|}.SLIP o|
|00002ec0| 72 20 50 50 50 0a 7b 66 | 32 30 7d 25 65 78 74 72 |r PPP.{f|20}%extr|
|00002ed0| 61 31 7b 66 7d 09 09 45 | 78 74 72 61 20 66 69 65 |a1{f}..E|xtra fie|
|00002ee0| 6c 64 20 28 69 66 20 65 | 78 74 72 61 64 65 66 31 |ld (if e|xtradef1|
|00002ef0| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 70 72 6f 76 | defined| in prov|
|00002f00| 69 64 65 72 20 66 69 6c | 65 29 0a 7b 66 32 30 7d |ider fil|e).{f20}|
|00002f10| 25 65 78 74 72 61 32 7b | 66 7d 09 09 45 78 74 72 |%extra2{|f}..Extr|
|00002f20| 61 20 66 69 65 6c 64 20 | 28 69 66 20 65 78 74 72 |a field |(if extr|
|00002f30| 61 64 65 66 32 20 64 65 | 66 69 6e 65 64 20 69 6e |adef2 de|fined in|
|00002f40| 20 70 72 6f 76 69 64 65 | 72 20 66 69 6c 65 29 0a | provide|r file).|
|00002f50| 7b 66 32 30 7d 25 65 78 | 74 72 61 33 7b 66 7d 09 |{f20}%ex|tra3{f}.|
|00002f60| 09 45 78 74 72 61 20 66 | 69 65 6c 64 20 28 69 66 |.Extra f|ield (if|
|00002f70| 20 65 78 74 72 61 64 65 | 66 33 20 64 65 66 69 6e | extrade|f3 defin|
|00002f80| 65 64 20 69 6e 20 70 72 | 6f 76 69 64 65 72 20 66 |ed in pr|ovider f|
|00002f90| 69 6c 65 29 0a 0a 49 66 | 20 72 65 74 75 72 6e 69 |ile)..If| returni|
|00002fa0| 6e 67 20 77 69 74 68 20 | 73 75 63 63 65 73 73 2c |ng with |success,|
|00002fb0| 20 61 20 6c 6f 67 69 6e | 20 74 6f 20 61 20 64 79 | a login| to a dy|
|00002fc0| 6e 61 6d 69 63 20 49 50 | 20 70 72 6f 76 69 64 65 |namic IP| provide|
|00002fd0| 72 20 77 69 74 68 20 53 | 4c 49 50 20 6d 75 73 74 |r with S|LIP must|
|00002fe0| 0a 68 61 76 65 20 73 65 | 74 20 74 68 65 0a 7b 66 |.have se|t the.{f|
|00002ff0| 32 30 7d 69 70 61 64 64 | 72 65 73 73 7b 66 7d 20 |20}ipadd|ress{f} |
|00003000| 76 61 72 69 61 62 6c 65 | 2e 20 20 46 6f 72 20 73 |variable|. For s|
|00003010| 6f 6d 65 20 70 72 6f 76 | 69 64 65 72 73 20 69 74 |ome prov|iders it|
|00003020| 20 6d 61 79 20 62 65 20 | 61 70 70 72 6f 70 72 69 | may be |appropri|
|00003030| 61 74 65 20 74 6f 20 73 | 65 74 0a 74 68 65 20 76 |ate to s|et.the v|
|00003040| 61 72 69 61 62 6c 65 20 | 7b 66 32 30 7d 72 6f 75 |ariable |{f20}rou|
|00003050| 74 65 72 7b 66 7d 20 61 | 73 20 61 20 72 65 73 75 |ter{f} a|s a resu|
|00003060| 6c 74 20 6f 66 20 74 68 | 65 20 6c 6f 67 69 6e 2e |lt of th|e login.|
|00003070| 0a 0a 23 66 48 34 3a 45 | 78 61 6d 70 6c 65 73 0a |..#fH4:E|xamples.|
|00003080| 0a 53 65 65 20 73 6f 6d | 65 20 65 78 69 73 74 69 |.See som|e existi|
|00003090| 6e 67 20 70 72 6f 76 69 | 64 65 72 20 66 69 6c 65 |ng provi|der file|
|000030a0| 73 20 69 6e 20 74 68 65 | 20 3c 50 72 6f 76 69 64 |s in the| <Provid|
|000030b0| 65 72 73 3d 3e 2a 46 69 | 6c 65 72 5f 4f 70 65 6e |ers=>*Fi|ler_Open|
|000030c0| 44 69 72 20 41 63 6f 72 | 6e 65 74 3a 55 74 69 6c |Dir Acor|net:Util|
|000030d0| 73 2e 21 4e 65 74 43 6f | 6e 66 69 67 2e 50 72 6f |s.!NetCo|nfig.Pro|
|000030e0| 76 69 64 65 72 73 3e 20 | 64 69 72 65 63 74 6f 72 |viders> |director|
|000030f0| 79 2e 0a 00 44 41 54 41 | 81 04 00 00 57 69 6d 70 |y...DATA|....Wimp|
|00003100| 20 6d 6f 64 75 6c 65 0a | 54 68 65 20 77 69 6d 70 | module.|The wimp|
|00003110| 20 6d 6f 64 75 6c 65 20 | 64 65 61 6c 73 20 77 69 | module |deals wi|
|00003120| 74 68 20 74 68 65 20 77 | 69 6d 70 2c 20 77 69 6e |th the w|imp, win|
|00003130| 64 6f 77 73 20 61 6e 64 | 20 69 63 6f 6e 73 2e 20 |dows and| icons. |
|00003140| 20 41 6e 79 20 73 69 6d | 69 6c 61 72 69 74 79 20 | Any sim|ilarity |
|00003150| 74 6f 0a 44 65 73 6b 4c | 69 62 20 69 73 20 65 6e |to.DeskL|ib is en|
|00003160| 74 69 72 65 6c 79 20 6e | 6f 6e 2d 63 6f 69 6e 63 |tirely n|on-coinc|
|00003170| 69 64 65 6e 74 61 6c 2e | 0a 0a 53 75 6d 6d 61 72 |idental.|..Summar|
|00003180| 79 3a 0a 23 69 6e 64 65 | 6e 74 20 32 0a 7b 66 32 |y:.#inde|nt 2.{f2|
|00003190| 30 7d 62 75 66 25 09 09 | 09 09 31 4b 20 62 75 66 |0}buf%..|..1K buf|
|000031a0| 66 65 72 20 66 6f 72 20 | 67 65 6e 65 72 61 6c 20 |fer for |general |
|000031b0| 75 73 65 2c 20 69 6e 63 | 6c 75 64 69 6e 67 20 57 |use, inc|luding W|
|000031c0| 69 6d 70 20 64 61 74 61 | 0a 7b 66 32 30 7d 50 52 |imp data|.{f20}PR|
|000031d0| 4f 43 77 69 6d 70 5f 69 | 6e 69 74 69 61 6c 69 73 |OCwimp_i|nitialis|
|000031e0| 65 28 6e 61 6d 65 24 29 | 09 49 6e 69 74 69 61 6c |e(name$)|.Initial|
|000031f0| 69 73 65 20 61 73 20 61 | 20 57 49 4d 50 20 74 61 |ise as a| WIMP ta|
|00003200| 73 6b 0a 7b 66 32 30 7d | 50 52 4f 43 77 69 6d 70 |sk.{f20}|PROCwimp|
|00003210| 5f 70 6f 6c 6c 28 6e 75 | 6c 6c 25 29 09 09 57 61 |_poll(nu|ll%)..Wa|
|00003220| 69 74 20 66 6f 72 20 6e | 65 78 74 20 57 49 4d 50 |it for n|ext WIMP|
|00003230| 20 65 76 65 6e 74 2e 20 | 20 49 66 20 6e 75 6c 6c | event. | If null|
|00003240| 25 20 69 73 20 54 52 55 | 45 0a 09 09 09 09 20 74 |% is TRU|E..... t|
|00003250| 68 65 6e 20 6e 75 6c 6c | 20 65 76 65 6e 74 73 20 |hen null| events |
|00003260| 61 72 65 20 69 6e 63 6c | 75 64 65 64 3a 20 73 65 |are incl|uded: se|
|00003270| 74 73 20 77 69 6d 70 5f | 6e 75 6c 6c 0a 7b 66 32 |ts wimp_|null.{f2|
|00003280| 30 7d 50 52 4f 43 77 69 | 6d 70 5f 72 65 70 6c 79 |0}PROCwi|mp_reply|
|00003290| 28 6c 65 6e 25 29 09 09 | 52 65 70 6c 79 20 74 6f |(len%)..|Reply to|
|000032a0| 20 6d 65 73 73 61 67 65 | 20 69 6e 20 62 75 66 25 | message| in buf%|
|000032b0| 0a 7b 66 32 30 7d 50 52 | 4f 43 77 69 6d 70 5f 64 |.{f20}PR|OCwimp_d|
|000032c0| 72 61 67 62 6f 78 28 62 | 6c 6b 25 2c 66 6e 24 2c |ragbox(b|lk%,fn$,|
|000032d0| 61 72 67 25 29 09 53 74 | 61 72 74 20 61 20 57 69 |arg%).St|art a Wi|
|000032e0| 6d 70 5f 44 72 61 67 42 | 6f 78 20 75 73 69 6e 67 |mp_DragB|ox using|
|000032f0| 20 64 61 74 61 20 69 6e | 0a 09 09 09 09 20 62 6c | data in|..... bl|
|00003300| 6b 25 2c 20 69 6e 76 6f | 6b 69 6e 67 20 63 61 6c |k%, invo|king cal|
|00003310| 6c 62 61 63 6b 20 66 75 | 6e 63 74 69 6f 6e 20 77 |lback fu|nction w|
|00003320| 68 65 6e 20 64 6f 6e 65 | 0a 7b 66 32 30 7d 46 4e |hen done|.{f20}FN|
|00003330| 77 69 6e 64 6f 77 5f 63 | 72 65 61 74 65 28 65 76 |window_c|reate(ev|
|00003340| 65 6e 74 66 6e 24 29 09 | 43 72 65 61 74 65 20 77 |entfn$).|Create w|
|00003350| 69 6e 64 6f 77 20 66 72 | 6f 6d 20 62 75 66 25 2c |indow fr|om buf%,|
|00003360| 20 77 69 74 68 20 65 76 | 65 6e 74 20 66 75 6e 63 | with ev|ent func|
|00003370| 74 69 6f 6e 0a 7b 66 32 | 30 7d 50 52 4f 43 77 69 |tion.{f2|0}PROCwi|
|00003380| 6e 64 6f 77 5f 64 65 6c | 65 74 65 28 77 69 6e 64 |ndow_del|ete(wind|
|00003390| 6f 77 25 29 09 44 65 6c | 65 74 65 20 61 20 77 69 |ow%).Del|ete a wi|
|000033a0| 6e 64 6f 77 0a 7b 66 32 | 30 7d 50 52 4f 43 77 69 |ndow.{f2|0}PROCwi|
|000033b0| 6e 64 6f 77 5f 73 68 6f | 77 5f 61 74 28 77 69 6e |ndow_sho|w_at(win|
|000033c0| 64 6f 77 25 2c 78 25 2c | 79 25 29 09 44 69 73 70 |dow%,x%,|y%).Disp|
|000033d0| 6c 61 79 20 61 20 77 69 | 6e 64 6f 77 2e 20 49 66 |lay a wi|ndow. If|
|000033e0| 20 78 25 3d 2d 31 2c 20 | 61 74 20 73 61 6d 65 0a | x%=-1, |at same.|
|000033f0| 09 09 09 09 20 70 6c 61 | 63 65 20 61 73 20 62 65 |.... pla|ce as be|
|00003400| 66 6f 72 65 3b 20 69 66 | 20 78 25 3d 2d 32 2c 20 |fore; if| x%=-2, |
|00003410| 63 65 6e 74 72 65 64 0a | 7b 66 32 30 7d 50 52 4f |centred.|{f20}PRO|
|00003420| 43 69 63 6f 6e 5f 73 65 | 74 74 65 78 74 28 77 69 |Cicon_se|ttext(wi|
|00003430| 6e 64 6f 77 25 2c 69 63 | 6f 6e 25 2c 76 61 6c 75 |ndow%,ic|on%,valu|
|00003440| 65 24 29 09 55 70 64 61 | 74 65 20 74 65 78 74 20 |e$).Upda|te text |
|00003450| 69 63 6f 6e 0a 7b 66 32 | 30 7d 46 4e 69 63 6f 6e |icon.{f2|0}FNicon|
|00003460| 5f 67 65 74 74 65 78 74 | 28 77 69 6e 64 6f 77 25 |_gettext|(window%|
|00003470| 2c 69 63 6f 6e 25 29 09 | 46 65 74 63 68 20 69 63 |,icon%).|Fetch ic|
|00003480| 6f 6e 20 74 65 78 74 0a | 7b 66 32 30 7d 50 52 4f |on text.|{f20}PRO|
|00003490| 43 69 63 6f 6e 5f 73 65 | 74 73 65 6c 65 63 74 28 |Cicon_se|tselect(|
|000034a0| 77 69 6e 64 6f 77 25 2c | 69 63 6f 6e 25 2c 66 6c |window%,|icon%,fl|
|000034b0| 61 67 25 29 09 55 70 64 | 61 74 65 20 69 63 6f 6e |ag%).Upd|ate icon|
|000034c0| 20 73 65 6c 65 63 74 65 | 64 20 66 6c 61 67 0a 7b | selecte|d flag.{|
|000034d0| 66 32 30 7d 46 4e 69 63 | 6f 6e 5f 67 65 74 73 65 |f20}FNic|on_getse|
|000034e0| 6c 65 63 74 28 77 69 6e | 64 6f 77 25 2c 69 63 6f |lect(win|dow%,ico|
|000034f0| 6e 25 29 09 54 65 73 74 | 20 69 66 20 69 63 6f 6e |n%).Test| if icon|
|00003500| 20 73 65 6c 65 63 74 65 | 64 0a 7b 66 32 30 7d 46 | selecte|d.{f20}F|
|00003510| 4e 73 63 72 65 65 6e 5f | 78 6d 61 78 09 09 09 52 |Nscreen_|xmax...R|
|00003520| 65 74 75 72 6e 20 73 63 | 72 65 65 6e 20 77 69 64 |eturn sc|reen wid|
|00003530| 74 68 20 69 6e 20 4f 53 | 20 75 6e 69 74 73 0a 7b |th in OS| units.{|
|00003540| 66 32 30 7d 46 4e 73 63 | 72 65 65 6e 5f 79 6d 61 |f20}FNsc|reen_yma|
|00003550| 78 09 09 09 52 65 74 75 | 72 6e 20 73 63 72 65 65 |x...Retu|rn scree|
|00003560| 6e 20 68 65 69 67 68 74 | 20 69 6e 20 4f 53 20 75 |n height| in OS u|
|00003570| 6e 69 74 73 0a 00 00 00 | |nits....| |
+--------+-------------------------+-------------------------+--------+--------+